dockerdocker-commanddocker-pull

Docker pull hello-world showing successful create but when using docker ps or docker ps -a not shoing images


docker commands

I used docker ps/docker ps -a/docker ps -n 1 all not showing my first image. But it after I using docker pull hello-world it saying it installed successfully


Solution

  • docker pull pulls an image (and all the layers that make it up) to your local machine, but doesn't run anything.

    docker ps lists containers on your system.

    Once you run that container (using docker run hello-world), you'll see it in dokcer ps. To view the image you pulled, you could use docker images.