Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 50d22f0

Browse files
Merge pull request #2493 from thaJeztah/19.03_backport_update_dockerd_usage
[19.03 backport] docs: update usage output for dockerd (19.03) Upstream-commit: bef0d567ac506aa52d2d363f8af98c6b8efa3e0f Component: cli
2 parents 47b885b + 29f7b93 commit 50d22f0

1 file changed

Lines changed: 22 additions & 17 deletions

File tree

  • components/cli/docs/reference/commandline

components/cli/docs/reference/commandline/dockerd.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,77 +18,82 @@ redirect_from:
1818
# daemon
1919

2020
```markdown
21-
Usage: dockerd COMMAND
21+
Usage: dockerd COMMAND
2222

2323
A self-sufficient runtime for containers.
2424

2525
Options:
2626
--add-runtime runtime Register an additional OCI compatible runtime (default [])
27-
--allow-nondistributable-artifacts list Push nondistributable artifacts to specified registries (default [])
27+
--allow-nondistributable-artifacts list Allow push of nondistributable artifacts to registry
2828
--api-cors-header string Set CORS headers in the Engine API
29-
--authorization-plugin list Authorization plugins to load (default [])
29+
--authorization-plugin list Authorization plugins to load
3030
--bip string Specify network bridge IP
3131
-b, --bridge string Attach containers to a network bridge
3232
--cgroup-parent string Set parent cgroup for all containers
3333
--cluster-advertise string Address or interface name to advertise
3434
--cluster-store string URL of the distributed storage backend
3535
--cluster-store-opt map Set cluster store options (default map[])
3636
--config-file string Daemon configuration file (default "/etc/docker/daemon.json")
37-
--containerd string Path to containerd socket
37+
--containerd string containerd grpc address
3838
--cpu-rt-period int Limit the CPU real-time period in microseconds
3939
--cpu-rt-runtime int Limit the CPU real-time runtime in microseconds
40+
--cri-containerd start containerd with cri
4041
--data-root string Root directory of persistent Docker state (default "/var/lib/docker")
4142
-D, --debug Enable debug mode
43+
--default-address-pool pool-options Default address pools for node specific local networks
4244
--default-gateway ip Container default gateway IPv4 address
4345
--default-gateway-v6 ip Container default gateway IPv6 address
44-
--default-address-pool Set the default address pool for local node networks
46+
--default-ipc-mode string Default mode for containers ipc ("shareable" | "private") (default "private")
4547
--default-runtime string Default OCI runtime for containers (default "runc")
48+
--default-shm-size bytes Default shm size for containers (default 64MiB)
4649
--default-ulimit ulimit Default ulimits for containers (default [])
47-
--dns list DNS server to use (default [])
48-
--dns-opt list DNS options to use (default [])
49-
--dns-search list DNS search domains to use (default [])
50-
--exec-opt list Runtime execution options (default [])
50+
--dns list DNS server to use
51+
--dns-opt list DNS options to use
52+
--dns-search list DNS search domains to use
53+
--exec-opt list Runtime execution options
5154
--exec-root string Root directory for execution state files (default "/var/run/docker")
5255
--experimental Enable experimental features
5356
--fixed-cidr string IPv4 subnet for fixed IPs
5457
--fixed-cidr-v6 string IPv6 subnet for fixed IPs
5558
-G, --group string Group for the unix socket (default "docker")
5659
--help Print usage
57-
-H, --host list Daemon socket(s) to connect to (default [])
60+
-H, --host list Daemon socket(s) to connect to
5861
--icc Enable inter-container communication (default true)
5962
--init Run an init in the container to forward signals and reap processes
6063
--init-path string Path to the docker-init binary
61-
--insecure-registry list Enable insecure registry communication (default [])
64+
--insecure-registry list Enable insecure registry communication
6265
--ip ip Default IP when binding container ports (default 0.0.0.0)
6366
--ip-forward Enable net.ipv4.ip_forward (default true)
6467
--ip-masq Enable IP masquerading (default true)
6568
--iptables Enable addition of iptables rules (default true)
6669
--ipv6 Enable IPv6 networking
67-
--label list Set key=value labels to the daemon (default [])
70+
--label list Set key=value labels to the daemon
6871
--live-restore Enable live restore of docker when containers are still running
6972
--log-driver string Default driver for container logs (default "json-file")
70-
-l, --log-level string Set the logging level ("debug", "info", "warn", "error", "fatal") (default "info")
73+
-l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
7174
--log-opt map Default log driver options for containers (default map[])
7275
--max-concurrent-downloads int Set the max concurrent downloads for each pull (default 3)
7376
--max-concurrent-uploads int Set the max concurrent uploads for each push (default 5)
7477
--metrics-addr string Set default address and port to serve the metrics api on
7578
--mtu int Set the containers network MTU
76-
--node-generic-resources list Advertise user-defined resource
79+
--network-control-plane-mtu int Network Control plane MTU (default 1500)
7780
--no-new-privileges Set no-new-privileges by default for new containers
81+
--node-generic-resource list Advertise user-defined resource
7882
--oom-score-adjust int Set the oom_score_adj for the daemon (default -500)
7983
-p, --pidfile string Path to use for daemon PID file (default "/var/run/docker.pid")
8084
--raw-logs Full timestamps without ANSI coloring
81-
--registry-mirror list Preferred Docker registry mirror (default [])
85+
--registry-mirror list Preferred Docker registry mirror
86+
--rootless Enable rootless mode; typically used with RootlessKit (experimental)
8287
--seccomp-profile string Path to seccomp profile
8388
--selinux-enabled Enable selinux support
8489
--shutdown-timeout int Set the default shutdown timeout (default 15)
8590
-s, --storage-driver string Storage driver to use
86-
--storage-opt list Storage driver options (default [])
91+
--storage-opt list Storage driver options
8792
--swarm-default-advertise-addr string Set default address or interface for swarm advertised address
8893
--tls Use TLS; implied by --tlsverify
8994
--tlscacert string Trust certs signed only by this CA (default "~/.docker/ca.pem")
9095
--tlscert string Path to TLS certificate file (default "~/.docker/cert.pem")
91-
--tlskey string Path to TLS key file (default ~/.docker/key.pem")
96+
--tlskey string Path to TLS key file (default "~/.docker/key.pem")
9297
--tlsverify Use TLS and verify the remote
9398
--userland-proxy Use userland proxy for loopback traffic (default true)
9499
--userland-proxy-path string Path to the userland proxy binary

0 commit comments

Comments
 (0)