Last active
August 13, 2019 17:50
-
-
Save nullthefirst/64bdbb985356625294d4883c5b01f8af to your computer and use it in GitHub Desktop.
Basic Docker Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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
Visit the Docker documentation for more information.