List of 20 docker commands and its use cases with example?
1.docker –version: This command helps you know the installed version of the docker software on your system. 2.docker pull nginx: This command helps you pull images from the central docker repository. 3.docker images: This command helps you in listing all the docker images, downloaded on your system. 4.docker run –it -d centos: This command helps in running containers, from their image name. -It = which basically makes the terminal interactive. -d = which means run the container as a daemon
Read more