How can I run an insecure registry on my host?

Hi; I am quite new to this area.

I would like to run an insecure registry on my laptop. I am using Nexus locally on localhost:5771.

I have selected the Docker for Mac UI that lets me add an insecure registry, where I’ve typed:


I’ve restarted and applied my changes to the Docker daemon.

When I try to push a repository to this registry, Docker says that the connection is refused. I’m sure that this has to do with the fact that localhost doesn’t mean what I think it means. :slight_smile: What is the proper way to do this?