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