testcontainers / testcontainers/testcontainers-java
docker-compose files from two different locations
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
Why is it not possible to supply two docker-compose.yml-files from different directories to the DockerComposeContainer-Constructor?
e.g. like:
new DockerComposeContainer(new File("first/directory/docker-compose.yml"), new File("first/docker-compose.override.yml"))
There is always occuring the a FileNotFoundError in the containerized docker environment.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the DockerComposeContainer constructor and reproducing the example with compose files from different directories. Identify why the containerized Docker environment cannot find the second file. Done means both files can be supplied from separate locations without a FileNotFoundError, with coverage for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, java
- Domain
- devops, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100