Last active
February 27, 2022 10:12
-
-
Save cobanov/3d6d2d9b6184a865e8e9e93b278f5abd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
docker pull image_namem|Download an image, and all its parents, from the registry. | |
docker run -ti --name container_name image_name /command|Run a shell command inside a freshly created and started container. | |
docker start container_name|Start a container | |
docker stop container_name|Stop a container | |
docker kill $(docker ps -q)|Kill all running docker containers | |
docker build image_name .|Build an image | |
docker image ls|List all images | |
docker ps|Manage containers using ps/kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment