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