mirror of https://github.com/docker/docs.git
Update configure nodes to trust DTR with sudo
This commit is contained in:
parent
88154eacbe
commit
3cd0cf6a7c
|
@ -31,9 +31,11 @@ The configuration depends on your operating system.
|
|||
|
||||
```bash
|
||||
# Download the DTR CA certificate
|
||||
$ curl -k https://<dtr-domain-name>/ca -o /usr/local/share/ca-certificates/<dtr-domain-name>.crt
|
||||
$ sudo curl -k https://<dtr-domain-name>/ca -o /usr/local/share/ca-certificates/<dtr-domain-name>.crt
|
||||
|
||||
# Refresh the list of certificates to trust
|
||||
$ sudo update-ca-certificates
|
||||
|
||||
# Restart the Docker daemon
|
||||
$ sudo service docker restart
|
||||
```
|
||||
|
@ -42,9 +44,11 @@ $ sudo service docker restart
|
|||
|
||||
```bash
|
||||
# Download the DTR CA certificate
|
||||
$ curl -k https://<dtr-domain-name>/ca -o /etc/pki/ca-trust/source/anchors/<dtr-domain-name>.crt
|
||||
$ sudo curl -k https://<dtr-domain-name>/ca -o /etc/pki/ca-trust/source/anchors/<dtr-domain-name>.crt
|
||||
|
||||
# Refresh the list of certificates to trust
|
||||
$ sudo update-ca-trust
|
||||
|
||||
# Restart the Docker daemon
|
||||
$ sudo /bin/systemctl restart docker.service
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue