We used this guide to import ca.crt file into the Keychain (visible as 'not trusted' at Certificates menu).ĭocker login should work normally afterwards. It is currently unknown if the above /etc/docker steps are even required on Mac. I tested this with a co-worker and it was discovered that addition of the CA file into macOS Keychain was required (I had also done this previously). The URL can also be in the form of IP: sudo mkdir -p /etc/docker/certs.d/:443 Note: If you are using URL with port to connect to the registry, the port needs to be included in the foldername under certs.d folder. Place the Certificate Authority (CA) file, provided by the remote registry admin, into the specific folder structure via terminal commands: sudo mkdir -p /etc/docker/certs.d/ I got below instructions working with MacBook Pro using macOs High Sierra 10.13.5 (17F77)ĭocker client (local Docker) version: 18.03.1-ce Unlike the Docker documentation's link regarding this matter specifically mentions, the Linux/Unix instructions work for macOS / OS X as well: