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 status immediately exiting

See original GitHub issue

I’ve been trying to figure this out for a while but I can’t understand why my container statuses are exiting right after I create them. I run the docker logs [ID] and I get an error run.py: error: the following arguments are required: -a/--alerter I’m using my email as an alerter type.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Coventry423commented, Dec 4, 2020

ok the git pull fixed it thanks

0reactions
Coventry423commented, Dec 4, 2020

Yea I’m actually in the process right now. I used docker container stop $(docker container ls –aq) && docker system prune –af ––volumes and then docker pull ericjmarti/inventory-hunter:latest

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why docker container exits immediately - Stack Overflow
When you attach and exit the container by CTRL+D (most common way to do it), you stop the container because you just killed...
Read more >
Why Does My Docker Container Stop? - Tutorial Works
A Docker container exiting doesn't usually indicate that something is wrong. But, nevertheless, you might be wondering why it's exited!
Read more >
What to do if a Docker container immediately exits
If you run a container using docker run and it immediately exits and every time you press the Start button in Docker Desktop...
Read more >
Docker: Prevent Container From Exiting Immediately After ...
Explanation of how to resolve a problem of a Docker container exiting with return code 0 immediately after creation.
Read more >
Docker run exits immediately despite --detach, --interactive
In all cases, the container exits immediately. I tried to troubleshoot but docker logs <container> doesn't show a single line of log.
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