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.
CodePudding user response:
Probably the container is failing to start and is not listed in the active containers of your server.
- Try to check the status of all your containers with
docker ps -adocker ps. - See the logs of the container using docker logs.
