Container not found

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

What is the exact command you use?

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.

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