Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac9ea79

Browse files
Merge pull request docker#751 from joaofnfernandes/integrate-dtr
Update configure nodes to trust DTR with sudo
2 parents 01467c8 + 3cd0cf6 commit ac9ea79

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

datacenter/ucp/2.0/guides/configuration/integrate-with-dtr.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ The configuration depends on your operating system.
3131

3232
```bash
3333
# Download the DTR CA certificate
34-
$ curl -k https://<dtr-domain-name>/ca -o /usr/local/share/ca-certificates/<dtr-domain-name>.crt
34+
$ sudo curl -k https://<dtr-domain-name>/ca -o /usr/local/share/ca-certificates/<dtr-domain-name>.crt
35+
3536
# Refresh the list of certificates to trust
3637
$ sudo update-ca-certificates
38+
3739
# Restart the Docker daemon
3840
$ sudo service docker restart
3941
```
@@ -42,9 +44,11 @@ $ sudo service docker restart
4244

4345
```bash
4446
# Download the DTR CA certificate
45-
$ curl -k https://<dtr-domain-name>/ca -o /etc/pki/ca-trust/source/anchors/<dtr-domain-name>.crt
47+
$ sudo curl -k https://<dtr-domain-name>/ca -o /etc/pki/ca-trust/source/anchors/<dtr-domain-name>.crt
48+
4649
# Refresh the list of certificates to trust
4750
$ sudo update-ca-trust
51+
4852
# Restart the Docker daemon
4953
$ sudo /bin/systemctl restart docker.service
5054
```

0 commit comments

Comments
 (0)