Docker Community Forums

Share and learn in the Docker community.

Container not found


(Irshaddocker) #1

I am not able to run exec command, docker is giving below error when i run the exec command

rpc error: code = 2 desc = containerd: container not found

The machine is working, the containers are working but i am not able to run exec command. This container is for db and my site is not able to fetch records from db and hence site is down.

Please help me to fix this issue.

Thanks
Irshad


(Werner Dijkerman) #2

What is the exact command you use?


(Irshaddocker) #3

I am using followoing command to enter db container but it is giving error

docker exec -it cpx.db /bin/bash

It was working fine till last week.


(Werner Dijkerman) #4

The container is not restarted/recreated since the last time and has a new name or image id?