testcontainers/testcontainers-java

Support container_name in docker-compose file

Offen

#2.472 geöffnet am 24.03.2020

 (15 Kommentare) (16 Reaktionen) (0 zugewiesene Personen)Java (1.588 Forks)batch import
area/docker-composegood first issuehelp wantedresolution/somedaymaybe

Repository-Metriken

Stars
 (7.535 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 17h) (2 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide