-
use
docker --versionto check docker version. -
Run
docker infoto see more details about the docker installation.
-
Test Docker Installation with
docker run hello-world. -
list the
hello-worldimage that was pulled to your machine usingdocker image ls. -
docker container ls --allwill list thehello-worldcontainers spawned by the image and existing after displaying its image.
## List Docker CLI commands
docker
docker container --help
## Display Docker version and info
docker --version
docker version
docker info
## Execute Docker image
docker run hello-world
## List Docker images
docker image ls
## List Docker containers (running, all, all in quiet mode)
docker container ls
docker container ls --all
docker container ls -aq