You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--config`|`string`|`/root/.docker`| Location of client config files |
97
-
|`-c`, `--context`|`string`|| Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with `docker context use`) |
98
-
|`-D`, `--debug`||| Enable debug mode |
99
-
|[`-H`](#host), [`--host`](#host)|`list`|| Daemon socket to connect to |
100
-
|`-l`, `--log-level`|`string`|`info`| Set the logging level (`debug`, `info`, `warn`, `error`, `fatal`) |
101
-
|`--tls`||| Use TLS; implied by --tlsverify |
102
-
|`--tlscacert`|`string`|`/root/.docker/ca.pem`| Trust certs signed only by this CA |
103
-
|`--tlscert`|`string`|`/root/.docker/cert.pem`| Path to TLS certificate file |
104
-
|`--tlskey`|`string`|`/root/.docker/key.pem`| Path to TLS key file |
105
-
|`--tlsverify`||| Use TLS and verify the remote |
106
-
107
-
108
-
<!---MARKER_GEN_END-->
109
-
110
-
## Description
13
+
The base command for the Docker CLI is `docker`. For information about the
14
+
available flags and subcommands, refer to the [CLI reference](docker.md)
111
15
112
16
Depending on your Docker system configuration, you may be required to preface
113
17
each `docker` command with `sudo`. To avoid having to use `sudo` with the
|`--config`|`string`|`/root/.docker`| Location of client config files |
74
+
|`-c`, `--context`|`string`|| Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with `docker context use`) |
75
+
|`-D`, `--debug`||| Enable debug mode |
76
+
|`-H`, `--host`|`list`|| Daemon socket to connect to |
77
+
|`-l`, `--log-level`|`string`|`info`| Set the logging level (`debug`, `info`, `warn`, `error`, `fatal`) |
78
+
|`--tls`||| Use TLS; implied by --tlsverify |
79
+
|`--tlscacert`|`string`|`/root/.docker/ca.pem`| Trust certs signed only by this CA |
80
+
|`--tlscert`|`string`|`/root/.docker/cert.pem`| Path to TLS certificate file |
81
+
|`--tlskey`|`string`|`/root/.docker/key.pem`| Path to TLS key file |
0 commit comments