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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityAfter 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?
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
-d
.