You may use option -P -p 127.0.0.1:5000:5000 to limit connections to localhost only. In order to push to this repository tag image with repositoryHostName:5000/imageName then push this tag.DockerfileThe configuration file. Sets up a Docker container when you run docker build on it. ...