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
GIT(1) Git Manual GIT(1) | |
NAME | |
git - the stupid content tracker | |
SYNOPSIS | |
git [--version] [--help] [-C <path>] [-c <name>=<value>] | |
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] | |
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare] |
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
# Images | |
docker build -t friendlyname . # Create image using this directory's Dockerfile | |
docker image ls -a # List all images on this machine | |
docker image rm <image id> # Remove specified image from this machine | |
docker image rm $(docker image ls -a -q) # Remove all images from this machine | |
docker image prune # remove dangling images | |
docker tag <image> username/repository:tag # Tag <image> for upload to registry | |
docker push username/repository:tag # Upload tagged image to registry | |
docker run username/repository:tag # Run image from a registry |
NewerOlder