1、docker的帮助命令
docker --help 展示所有docker相关命令的用法
docker command --help 展示docker中某个命令的具体用法
主要和常用的docker 命令:
Usage: docker [OPTIONS] COMMAND
Common Commands:
run Create and run a new container from an image
exec Execute a command in a running container
ps List containers
build Build an image from a Dockerfile
pull Download an image from a registry
push Upload an image to a registry
images List images
login Log in to a registry
logout Log out from a registry
search Search Docker Hub for images
version Show the Docker version information
info Display system-wide informationManagement Commands:
container Manage containers
context Manage contexts
image Manage images
manifest Manage Docker image manifests and manifest lists
network Manage networks
plugin Manage plugins
system Manage Docker
trust Manage trust on Docker images
volume Manage volumes