Docker Community Forums

Share and learn in the Docker community.

(Solved) How to add your own self-signed certs to Docker for Mac (no more x509)


(Jeffsui) #1

FINALLY figured out how to deal with Self Signed certs in docker for mac

  1. Open the CLI mode:

screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

  1. Login as root (no password)

  2. download custom certs

    cat custom.crt >> /etc/ssl/certs/ca-certificates.crt

  3. Restart the docker deamon

    /etc/init.d/docker restart

Where do I store self signed certs
(Brandong) #2

Thank you x1000. We can finally stop using insecure-registries to access our internal images.