1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
   | [root@iZ8vbfaek3x3ogtpxnpnwfZ /]# docker --help
  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"|"info"|"warn"|"error"|"fatal") (default "info")       --tls                Use TLS; implied by --tlsverify       --tlscacert string   Trust certs signed only by this CA (default "/root/.docker/ca.pem")       --tlscert string     Path to TLS certificate file (default "/root/.docker/cert.pem")       --tlskey string      Path to TLS key file (default "/root/.docker/key.pem")       --tlsverify          Use TLS and verify the remote   -v, --version            Print version information and quit
  Management Commands:   app*        Docker App (Docker Inc., v0.9.1-beta3)
 
  查看 docker 命令帮助文档 > docker 具体命令 --help
  ```shell [root@iZ8vbfaek3x3ogtpxnpnwfZ /]# docker ps --help
  Usage:  docker ps [OPTIONS]
  List containers
  Options:   -a, --all             Show all containers (default shows just running)   -f, --filter filter   Filter output based on conditions provided       --format string   Pretty-print containers using a Go template   -n, --last int        Show n last created containers (includes all states) (default -1)   -l, --latest          Show the latest created container (includes all states)       --no-trunc        Don't truncate output   -q, --quiet           Only display container IDs   -s, --size            Display total file sizes [root@iZ8vbfaek3x3ogtpxnpnwfZ /]#
 
 
  |