Skip to content
Advertisement

Started container with docker run, now it is not showing up in docker ps -a

I started a docker container with docker run, like this:

JavaScript

Link to GitHub.com/plexinc/pms-docker

The docker container is running, as Im able to access the port and service, but I can’t seem to list the container when Im running sudo docker ps -a or sudo docker ps -aq or sudo docker ps --filter "name=plex"

I tried to run pstree, and got this output:

JavaScript

So it is clearly running in docker. How do I restart or rebuild this container when I can’t seem to get the ID from docker ps -a? sudo docker stop plex or sudo docker restart plex does not work either.

Edit:

Sorry, did not include os and docker. Im running on Ubuntu server Ubuntu 18.10 (GNU/Linux 4.18.0-15-generic x86_64)

Docker version 18.09.1, build 4c52b90

Edit 2:

sudo ps aux |grep lex output:

JavaScript

Advertisement

Answer

Had installed docker twice. Once with apt-get and once with snap.

Completely removed docker, both from apt and snap, and installed just using apt-get, and now the plex container is visible using docker ps -a.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement