«««< Updated upstream «««< Updated upstream If you want to pull container-images from an insecure registry over HTTP instead of HTTPS, you have to specify the registry as insecure. Otherwise docker will refuse, because of the unencrypted connection.
If you want to pull container-images from an insecure registry over http instead of https, you have to specify the registry as insecure. Otherwise docker will refuse, because of the unencrypted connection.
Stashed changes ======= If you want to pull container-images from an insecure registry over http instead of https, you have to specify the registry as insecure. Otherwise docker will refuse, because of the unencrypted connection.
Stashed changes
To do so open the config file /etc/docker/daemon.json
. If it does not exist, simply create one.
Inside you will specify the registry like so.
/etc/docker/daemon.json
{
"insecure-registries": ["my-registry.local:5000"]
}
For the changes to take affect, you need to restart the docker-daemon.
[tux@server]$ sudo systemctl reload docker
After that you can pull and push images without an error.