(Copying answer from question)
To add an insecure docker registry, add the file /etc/docker/daemon.json
with the following content:
{
"insecure-registries" : [ "hostname.cloudapp.net:5000" ]
}
and then restart docker.
More Related Contents:
- How to change the default docker registry from docker.io to my private registry?
- How to push a docker image to a private repository
- How to get a list of images on docker registry v2
- Where can I find the sha256 code of a docker image?
- How to delete images from a private docker registry?
- How to pass ARG value to ENTRYPOINT?
- How to move Docker containers between different hosts?
- How do I download Docker images without using the pull command?
- How to get remote access to a private docker-registry?
- How to pass arguments to a Dockerfile?
- Docker Compose wait for container X before starting Y
- What is the difference between docker-compose ports vs expose
- How to run shell script on host from docker container?
- Confused about Docker -t option to Allocate a pseudo-TTY
- How to mount a single file in a volume
- How to set the locale inside a Debian/Ubuntu Docker container?
- How to update /etc/hosts file in Docker image during “docker build”
- Conditional COPY/ADD in Dockerfile?
- Docker build “Could not resolve ‘archive.ubuntu.com'” apt-get fails to install anything
- What is a dangling image and what is an unused image?
- What is the right way to add data to an existing named volume in Docker?
- How can I use a variable inside a Dockerfile CMD?
- How to Dockerize windows application
- What is the difference between ports and expose in docker-compose?
- How to fill user input for interactive command for “RUN” command?
- How to mount local volumes in docker machine
- How do I edit a file after I shell to a Docker container?
- How to tag docker image with docker-compose
- Finding the layers and layer sizes for each Docker image
- docker – how do you disable auto-restart on a container?