Let's make the world a better place using digital technologies!

Useful Docker Commands

  • docker pull image_name
  • docker create ….. (create container from image)
  • docker run …. (create container and run from image)
  • docker ps -a (list all container, including stopped)
  • docker inspect container_name (provide information on the container)
  • docker images (list all images)
  • docker rm container_name (delete container)
  • docker start container_name (start/resume container)
  • docker stop container_name  (stop container)
  • docker rmi image_name (delete image)
  • docker exec -it container_name bash (connect to running conatiner_name container and jump to a bash shell)



View more posts from this author

Leave a Reply

Your email address will not be published. Required fields are marked *