I built a container on a private server running the command docker build -t image-name .
and then ran it docker run -it image-name
. But when I check the container list docker ps
, it doesn't show.
Probably the container is failing to start and is not listed in the active containers of your server.
docker ps -a
docker ps.