It would be nice if docker-machine create allowed specifying additional ip addresses or hostnames that the docker server might be accessed as. Put these as subAltName's so the certificate is considered valid for all those ip's/hostnames. E.g. in openssl.cnf it would look like:
Currently docker-machine create only includes the server's "real" ip address, so if you happen to be using a local ssh proxy to get to it (poor man's vpn) you'll get this error:
It would be nice if
docker-machine create
allowed specifying additional ip addresses or hostnames that the docker server might be accessed as. Put these as subAltName's so the certificate is considered valid for all those ip's/hostnames. E.g. in openssl.cnf it would look like:Currently
docker-machine create
only includes the server's "real" ip address, so if you happen to be using a local ssh proxy to get to it (poor man's vpn) you'll get this error:An error occurred trying to connect: Get https://127.0.0.1:4063/v1.24/containers/json: x509: certificate is valid for 192.168.2.63, not 127.0.0.1