github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/man/docker.1.md (about)

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