question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Container stops on github environment: Error response from deamon: Container is not running

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
danielGzcommented, Jul 7, 2021

I increased the log level as requested, but I also increased the k3s ver of the docker image and the error is no longer, we had another error but it’s a test case related issue 😃 https://github.com/spinnaker/clouddriver/pull/5419/checks?check_run_id=3011407918

0reactions
kiviewcommented, Jul 7, 2021

@danielGz Can you please increase the log level for Testcontainers to debug?

@bsideup Wouldn’t we see an exception if the container is OOM killed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

container exit itself after run it in github action · Issue #2081
I start run a docker container in github action and execute command to test on it. But it container exit silent when I...
Read more >
docker: Error response from daemon: Ports are not available ...
I have tried with the latest version of my channel (Stable or Edge); I have uploaded Diagnostics; Diagnostics ID: Expected behavior. Actual behavior....
Read more >
Container XXX is not running [snap] · Issue #191 · mviereck ...
So the container has another reason to stop immediately. I ran watch -n 0.5 sudo docker ps and in another terminal I ran...
Read more >
Error response from daemon: driver failed programming ...
Try disabling "Experimental Features" in the Settings/Daemon menu, restarting docker and then stopping all containers. (worked for me. from: ...
Read more >
Error response from daemon #828 - lgsvl/simulator - GitHub
This appears to be the problem: docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. Did you ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found