Add how to make mac/windows trust DTR

This commit is contained in:
Joao Fernandes 2016-12-15 13:28:44 -08:00
parent f0bc9da655
commit a11c5caa59
1 changed files with 16 additions and 3 deletions

View File

@ -13,8 +13,8 @@ self-signed certificates, you need to configure your Docker Engine to trust DTR.
Otherwise, when you try to login or push and pull images to DTR, you'll get an Otherwise, when you try to login or push and pull images to DTR, you'll get an
error: error:
```bash ```none
$ docker login <dtr-domain-name> $ docker login dtr.example.org
x509: certificate signed by unknown authority x509: certificate signed by unknown authority
``` ```
@ -25,6 +25,19 @@ system to trust that certificate.
## Configure your host ## Configure your host
### macOS
In your browser navigate to `https://<dtr-url>/ca` to download the TLS
certificate used by DTR. Then
[add that certificate to the macOS trust store](https://support.apple.com/kb/PH18677?locale=en_US).
### Windows
In your browser navigate to `https://<dtr-url>/ca` to download the TLS
certificate used by DTR. Then
[add that certificate to the Windows trust store](https://technet.microsoft.com/en-us/library/cc754841(v=ws.11).aspx).
### Ubuntu/ Debian ### Ubuntu/ Debian
```bash ```bash
@ -90,7 +103,7 @@ To validate that your Docker daemon trusts DTR, trying authenticating against
DTR. DTR.
```bash ```bash
$ docker login <dtr-domain-name> docker login dtr.example.org
``` ```
## Where to go next ## Where to go next