I am running a docker registry service in a locally-hosted docker-machine VM in a docker 1.13 swarm on OSX via:
docker service create --name registry --with-registry-auth --publish
5000:5000 registry:2
The service is running and I can push/pull images on a swarm manager however when I try to push images to the service from the machine hosting the swarm VM using port 5000:
Get https://<IP of swarm manager>:5000/v1/_ping: http: server gave HTTP response to HTTPS client
Does anyone know how to securely access a docker registry service from outside the swarm? Possibly a FAQ, but I haven't found an article addressing it on the docker site. They all seem to deal with container TLS settings or accessing the server from within the swarm (which is rather nice).
thanks!