Arjun Goel
Arjun Goel

Reputation: 27

DOCKER CONTAINER ID is not getting displayed

I am using Docker Desktop for Windows and when I was running the docker command on windows PowerShell but I am not able to see the CONTAINER ID and CONTAINER NAME.

COMMAND: docker ps -a

Can someone please tell what will be the command for that?

Thanks

Upvotes: 2

Views: 3839

Answers (1)

Amit Meena
Amit Meena

Reputation: 4444

Please click on the Docker desktop icon on the right bottom corner of your desktop as shown below.

enter image description here

The Docker desktop ui should show all of the live as well as exited container.

enter image description here

Runa a sample nginx container and check the correctness of your installation.

docker run -it --rm -d -p 8080:80 --name web nginx

Check if you are able to see newly created nginx container named web on the dockerdesktop ui.

enter image description here

If you can see the newly created nginx container then your installation is correct. Now run your container from the command line and observe the Dockerdesktop UI.

If nginx container doesn't start then your docker installation is having the problem. Please do a clean uninstall and follow the steps

ReInstall Docker Desktop on Windows using below steps:

https://docs.docker.com/docker-for-windows/install/

Upvotes: 1

Related Questions