1

After apt update and apt upgrade all except one docker container aren't started anymore.

Containers have status exited using docker ps -a and can be started using docker run $containerid

Where should I start fixing?

1 Answer 1

2

At first you shouldn't use docker run for existing containers but docker start

From the official documentation :

docker run

Run a command in a new container

docker start

Start one or more stopped (includes exits) containers

For your issue, I suggest you to recreate (so with docker run) your container with the flag --restart always Source and more info

1
  • 1
    I would also mention restarting the docker daemon for containers running in the background e.g., via -d.
    – oxr463
    Dec 11, 2020 at 20:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.