Skip to content

fix: ignore container_name instead of failing#11940

Closed
ST-DDT wants to merge 1 commit into
testcontainers:mainfrom
ST-DDT:fix/2472-support-container-name-in-docker-compose
Closed

fix: ignore container_name instead of failing#11940
ST-DDT wants to merge 1 commit into
testcontainers:mainfrom
ST-DDT:fix/2472-support-container-name-in-docker-compose

Conversation

@ST-DDT

@ST-DDT ST-DDT commented Jul 21, 2026

Copy link
Copy Markdown

Fixes #2472


Remove the container_name from compose-files instead of throwing.

@ST-DDT
ST-DDT marked this pull request as ready for review July 21, 2026 18:54
@ST-DDT
ST-DDT requested a review from a team as a code owner July 21, 2026 18:54
@ST-DDT

ST-DDT commented Jul 23, 2026

Copy link
Copy Markdown
Author

I noticed, that the json isn't used for starting the containers at all.
And I apparently forgot to readd the container-name to the file for the tests, so I didn't notice it earlier.

@ST-DDT ST-DDT closed this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support container_name in docker-compose file

1 participant