mirror of https://github.com/docker/docs.git
use sudo when curling DTR cert into /etc
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
This commit is contained in:
parent
3de302c121
commit
0a646eeae0
|
@ -39,7 +39,7 @@ $ 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
|
||||
|
|
|
@ -53,7 +53,7 @@ $ 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
|
||||
|
|
|
@ -63,7 +63,7 @@ $ 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
|
||||
|
|
|
@ -63,7 +63,7 @@ $ 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
|
||||
|
|
Loading…
Reference in New Issue