Monday, May 4, 2020

Top 15 Docker commands - Popular Docker commands

  • docker images - Lists all the docker images stored locally
  • docker build - Builds an image from a specified docker file
  • docker pull - pulls images from the docker repository
  • docker run - creates a container from an image
  • docker ps - lists the running containers
  • docker ps -a - shows all the running and exited containers
  • docker exec - access the running container
  • docker stop - stops a running container
  • docker kill - kills the container by stopping its execution immediately
  • docker commit - creates a new image of an edited container on the local system
  • docker login - This command is used to login to the docker hub repository
  • docker push - pushes an image to the docker hub repository
  • docker rm - deletes a stopped container
  • docker rmi - deletes an image from local storage

No comments:

Post a Comment

DevOps Interview Preparation Useful real time tips | Crack DevOps Interviews | How to clear DevOps Interviews

Are you failing in DevOps Interviews? Are you not be able to next round in the Interview process?  Let's find out how to fix this:   Fir...