edit of docker Exec command

This commit is contained in:
2026-03-01 02:23:26 +00:00
parent aa02404909
commit 968a6db6ea

View File

@@ -11,7 +11,7 @@ sudo vim /usr/lib/systemd/system/docker.service
### Add the following line and comment out the original ExecStart line ### Add the following line and comment out the original ExecStart line
``` ```
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376 --tlsverify --tlscacert=/path/to/ca_or_ca_chain.crt --tlscert=/path/to/server.crt --tlskey=/path/to/server.key ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://0.0.0.0:2376 --tlsverify --tlscacert=/etc/docker/tls/ca-bundle.crt --tlscert=/etc/docker/tls/server.crt --tlskey=/etc/docker/tls/server.key
``` ```
### Reload daemons and restart the Docker service ### Reload daemons and restart the Docker service