menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

51 docker ...
source image

Dev

1w

read

397

img
dot

Image Credit: Dev

51 docker commands that you'll ever need to get started with docker 🔥

  • 1. Check Docker version installed using 'docker --version'
  • 2. Display system-wide information with 'docker info'
  • 3. List all commands or get help on a specific one using 'docker help'
  • 4. Download an image from Docker Hub with 'docker pull '
  • 5. List all local images with 'docker images'
  • 6. Build image from a Dockerfile in the current directory using 'docker build -t .'
  • 7. Rename an image locally with 'docker tag '
  • 8. Remove an image with 'docker rmi '
  • 9. Save an image to a .tar archive with 'docker save -o .tar '
  • 10. Load image from a .tar archive with 'docker load -i .tar'
  • 11. Show layers of an image with 'docker history '
  • 12. Run a container with 'docker run '
  • 13. Run interactively with terminal access using 'docker run -it /bin/bash'
  • 14. Run in detached (background) mode with 'docker run -d '
  • Eligible for Web Story: true

Read Full Article

like

23 Likes

For uninterrupted reading, download the app