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

How to create Pull Request (PR) templates in Azure Repos? | Creating pull request template in Azure Repos

Azure Repos allows you to create Pull Request (PR) templates to standardize and streamline the PR process for your team. This ensures that a...