testcontainers / testcontainers/testcontainers-java
Container stops on github environment: Error response from deamon: Container is not running
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
Hi, we're facing some issues with pipelines ran in github, we're using GenericContainer to execute some commands on a running container but after the container id is echoed and the command is attempted we get this:
Error response from daemon: Container <> is not running
]
Expecting:
<1>
to be equal to:
<0>
but was not.
Please take a look at our pipeline: https://github.com/spinnaker/clouddriver/pull/5414/checks?check_run_id=2967751843
The pipeline was ran with 1.15.1 but increasing to 1.15.3 didn't solve the problem. This only happens on github, running locally has no problems.
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 reviewing the linked clouddriver pipeline and the GenericContainer usage described in the issue, then compare its GitHub environment with the local run. Check the behavior on Testcontainers 1.15.1 and 1.15.3; done means identifying why the container is not running in GitHub and making the attempted command succeed there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, github, java
- Domain
- devops, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100