testcontainers/testcontainers-java

Support container_name in docker-compose file

Aperta

#2472 aperta il 24 mar 2020

 (15 commenti) (16 reazioni) (0 assegnatari)Java (1588 fork)batch import
area/docker-composegood first issuehelp wantedresolution/somedaymaybe

Metriche repository

Star
 (7535 stelle)
Metriche merge PR
 (Merge medio 2g 17h) (2 PR mergiate in 30 g)

Descrizione

docker-compose files which contain container_name are not supported and the creation of DockerComposeContainer fails due to IllegalStateException. This has been introduced in #1151 as a quick fix for unintuitive feedback. If I understand correctly, the option of an implementation was however not discarded, but postponed. This issue is now about the implementation.

Guida contributor