Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

Unable to find start docker containers

bava

Noobie
May 31, 2018
19
1,850
Unable to find the running process id for the containers I run. Not sure even if they are running.
Getting no error while starting the container.

I installed docker on RHEL 8.5 using yum via Centos repo. Faced similar issue on Arch also.

Logs:
~ » sudo docker run -d python
aafa822b679f9a2cdc6e642e225ee52f7b7a103aee24cbc0230cd897d9accc96


~ » sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-01-11 23:16:51 IST; 13min ago
Docs: Docker Documentation
Main PID: 1027 (dockerd)
Tasks: 9
Memory: 136.7M
CGroup: /system.slice/docker.service
└─1027 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock


 
Unable to find the running process id for the containers I run. Not sure even if they are running.
Getting no error while starting the container.

I installed docker on RHEL 8.5 using yum via Centos repo. Faced similar issue on Arch also.

Logs:
~ » sudo docker run -d python
aafa822b679f9a2cdc6e642e225ee52f7b7a103aee24cbc0230cd897d9accc96


~ » sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-01-11 23:16:51 IST; 13min ago
Docs: Docker Documentation
Main PID: 1027 (dockerd)
Tasks: 9
Memory: 136.7M
CGroup: /system.slice/docker.service
└─1027 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Did you try

Code:
sudo docker ps -a
 
  • Like
Reactions: pr0ph3t