Docker --help

[root@node121 ~]# docker --help

Usage: docker [OPTIONS] COMMAND [arg...]

 

A self-sufficient runtime for linux containers.

 

Options:

 

 --api-cors-header=                  Set CORS headers in the remote API

  -b,--bridge=                        Attachcontainers to a network bridge

  --bip=                               Specify networkbridge IP

  -D,--debug=false                    Enabledebug mode

  -d,--daemon=false                   Enabledaemon mode

 --default-gateway=                  Container default gateway IPv4 address

 --default-gateway-v6=               Container default gateway IPv6 address

 --default-ulimit=[]                 Set default ulimits for containers

  --dns=[]                             DNS server to use

 --dns-search=[]                     DNS search domains to use

  -e,--exec-driver=native             Execdriver to use

  --exec-opt=[]                        Set exec driver options

 --exec-root=/var/run/docker         Root of the Docker execdriver

 --fixed-cidr=                       IPv4 subnet for fixed IPs

 --fixed-cidr-v6=                    IPv6 subnet for fixed IPs

  -G,--group=docker                   Groupfor the unix socket

  -g,--graph=/var/lib/docker          Root ofthe Docker runtime

  -H,--host=[]                        Daemonsocket(s) to connect to

  -h,--help=false                     Printusage

  --icc=true                           Enableinter-container communication

 --insecure-registry=[]              Enable insecure registry communication

  --ip=0.0.0.0                         Default IP whenbinding container ports

 --ip-forward=true                    Enable net.ipv4.ip_forward

 --ip-masq=true                      Enable IP masquerading

 --iptables=true                     Enable addition of iptables rules

  --ipv6=false                         Enable IPv6 networking

  -l, --log-level=info                 Set the logging level

  --label=[]                           Set key=value labelsto the daemon

 --log-driver=json-file              Default driver for container logs

 --log-opt=map[]                     Set log driver options

  --mtu=0                              Set thecontainers network MTU

  -p,--pidfile=/var/run/docker.pid    Path touse for daemon PID file

 --registry-mirror=[]                Preferred Docker registry mirror

  -s,--storage-driver=                Storagedriver to use

 --selinux-enabled=false             Enable selinux support

 --storage-opt=[]                    Set storage driver options

  --tls=false                          Use TLS; implied by--tlsverify

  --tlscacert=~/.docker/ca.pem         Trust certs signed only by this CA

 --tlscert=~/.docker/cert.pem        Path to TLS certificate file

 --tlskey=~/.docker/key.pem          Path to TLS key file

 --tlsverify=false                   Use TLS and verify the remote

 --userland-proxy=true                Use userland proxy for loopbacktraffic

  -v,--version=false                  Printversion information and quit

 

Commands:

    attach    Attach to a running container

    build     Build an image from a Dockerfile

    commit    Create a new image from a container'schanges

    cp        Copy files/folders from a container'sfilesystem to the host path

    create    Create a new container

    diff      Inspect changes on a container'sfilesystem

    events    Get real time events from the server

    exec      Run a command in a running container

    export    Stream the contents of a container as a tararchive

    history   Show the history of an image

    images    List images

    import    Create a new filesystem image from thecontents of a tarball

    info      Display system-wide information

    inspect   Return low-level information on a containeror image

    kill      Kill a running container

    load      Load an image from a tar archive

    login    Register or log in to a Docker registry server

    logout    Log out from a Docker registry server

    logs      Fetch the logs of a container

    pause     Pause all processes within a container

    port      Lookup the public-facing port that isNAT-ed to PRIVATE_PORT

    ps        List containers

    pull      Pull an image or a repository from aDocker registry server

    push      Push an image or a repository to a Dockerregistry server

    rename    Rename an existing container

    restart   Restart a running container

    rm        Remove one or more containers

    rmi       Remove one or more images

    run       Run a command in a new container

    save      Save an image to a tar archive

    search    Search for an image on the Docker Hub

    start     Start a stopped container

    stats     Display a stream of a containers' resourceusage statistics

    stop      Stop a running container

    tag       Tag an image into a repository

    top       Lookup the running processes of acontainer

    unpause   Unpause a paused container

    version   Show the Docker version information

    wait      Block until a container stops, then printits exit code

 

Run 'docker COMMAND --help' for more information on acommand.

 

·Ö¸îÏß
¸Ðл´òÉÍ
½­Î÷Êý¿âÐÅÏ¢¼¼ÊõÓÐÏÞ¹«Ë¾
YWSOS.COM ƽ̨´úÔËά½â¾ö·½°¸
 ÆÀÂÛ
 ·¢±íÆÀÂÛ
ÐÕ   Ãû£º

Powered by AKCMS