Skip to content

Instantly share code, notes, and snippets.

@kuzmicheff
Created March 21, 2018 16:44
Show Gist options
  • Save kuzmicheff/a33a17a12ea8411db3d7489020f27b4d to your computer and use it in GitHub Desktop.
Save kuzmicheff/a33a17a12ea8411db3d7489020f27b4d to your computer and use it in GitHub Desktop.
Docker intro: notes and commands
## List Docker CLI commands
docker
docker container --help
## Display Docker version and info
docker --version
docker version
docker info
## Execute Docker image
docker run hello-world
## List Docker images
docker image ls
## List Docker containers (running, all, all in quiet mode)
docker container ls
docker container ls --all
docker container ls -aq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment