github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/man/docker.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % William Henry
     3  % APRIL 2014
     4  # NAME
     5  docker \- Docker image and container command line interface
     6  
     7  # SYNOPSIS
     8  **docker** [OPTIONS] COMMAND [ARG...]
     9  
    10  **docker** [--help|-v|--version]
    11  
    12  # DESCRIPTION
    13  **docker** is a client for interacting with the daemon (see **dockerd(8)**) through the CLI.
    14  
    15  The Docker CLI has over 30 commands. The commands are listed below and each has
    16  its own man page which explain usage and arguments.
    17  
    18  To see the man page for a command run **man docker <command>**.
    19  
    20  # OPTIONS
    21  **--help**
    22    Print usage statement
    23  
    24  **--config**=""
    25    Specifies the location of the Docker client configuration files. The default is '~/.docker'.
    26  
    27  **-D**, **--debug**=*true*|*false*
    28    Enable debug mode. Default is false.
    29  
    30  **-H**, **--host**=[*unix:///var/run/docker.sock*]: tcp://[host]:[port][path] to bind or
    31  unix://[/path/to/socket] to use.
    32    The socket(s) to bind to in daemon mode specified using one or more
    33    tcp://host:port/path, unix:///path/to/socket, fd://* or fd://socketfd.
    34    If the tcp port is not specified, then it will default to either `2375` when
    35    `--tls` is off, or `2376` when `--tls` is on, or `--tlsverify` is specified.
    36  
    37  **-l**, **--log-level**="*debug*|*info*|*warn*|*error*|*fatal*"
    38    Set the logging level. Default is `info`.
    39  
    40  **--tls**=*true*|*false*
    41    Use TLS; implied by --tlsverify. Default is false.
    42  
    43  **--tlscacert**=*~/.docker/ca.pem*
    44    Trust certs signed only by this CA.
    45  
    46  **--tlscert**=*~/.docker/cert.pem*
    47    Path to TLS certificate file.
    48  
    49  **--tlskey**=*~/.docker/key.pem*
    50    Path to TLS key file.
    51  
    52  **--tlsverify**=*true*|*false*
    53    Use TLS and verify the remote (daemon: verify client, client: verify daemon).
    54    Default is false.
    55  
    56  **-v**, **--version**=*true*|*false*
    57    Print version information and quit. Default is false.
    58  
    59  # COMMANDS
    60  
    61  Use "docker help" or "docker --help" to get an overview of available commands.
    62  
    63  # EXAMPLES
    64  For specific client examples please see the man page for the specific Docker
    65  command. For example:
    66  
    67      man docker-run
    68  
    69  # HISTORY
    70  April 2014, Originally compiled by William Henry (whenry at redhat dot com) based on docker.com source material and internal work.