7. List of 20 docker commands and its use cases with example? by Ramalakshmi
docker pull: pull the image from the docker hubdocker ps: list the running containersdocker ps -a: list the running and stopped containersdocker start start the containerdocker stop: stop the one or more running containersdocker restart: restart the containerdocker rm: remove the containerdocker exec: runs a new command in a running containerdocker image: show all imagedocker info: show the information about docker installationdocker kill: kill one or more running containersdocker login: login into docker register
Read more