Where to add client certificates for Docker for Mac?

I have a docker registry that I’m accessing behind an nginx proxy that does authentication using client-side ssl certificates.

When I attempt to push to this registry, I need the docker daemon to send the client certificate to nginx.

  • How to transfer large files between dockerized services?
  • Docker search command with criteria shows inconsistent results
  • How do I create docker image from an existing CentOS?
  • chmod not work with virtualbox share folder
  • Serving local mapbox vector tiles from Windows using Docker
  • Error: ./ts3server: not found
  • According to:

    There should be a directory called /etc/docker where these certificates can go. This directory doesn’t exist on Docker for Mac.

    So I thought I’d try putting the certificates inside the virtual machine itself by doing:

    docker-machine ssh default

    This resulted in docker complaining:
    Error response from daemon: crypto/tls: private key does not match public key

    I don’t believe there is anything wrong with my key pair, and I’ve done this same setup on linux (much easier) without problems.

  • can I run multiple docker wordpress with external nginx and mysql
  • my docker-compose is picking up files from another folder, not from where I'm running the command
  • What is driver name of docker for mac?
  • Concurrent database creation
  • tools for defining and running complex applications with docker
  • docker for windows equivalent for “-v /var/run/docker.sock:/var/run/docker.sock”
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.