Docker执行下列名, 我们可以看到,分别如下三个分类
1.参数可选项Options
2.管理命令Management Commands
3.常用命令Command
其中常用命令(Commands)为管理命令(management commands)子集
root@ubuntu:/# docker
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/root/.docker")
-c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use")
-D, --debug Enable debug mode
-H, --host list Daemon socket(s) to connect to
-l, --log-level string Set the logging level ("debug"|"i