An insecure registry serves container images over plain HTTP instead of HTTPS. Docker blocks this by default, so you must explicitly allow the registry before pushing or pulling images. section 5.3
To use a local insecure registry:
- Run the registry and give it a stable address such as registry.local:5010. section 5.3
- Add the registry address to Docker's insecure-registries setting in daemon.json, or edit the Docker Engine settings in Docker Desktop. section 5.3
- Restart Docker after changing the configuration, then use docker info to verify that the registry is permitted. section 5.3
- Tag images with the registry address and push them using docker image push. section 5.3
{
"insecure-registries": [
"registry.local:5010"
]
}
Use this Docker Engine configuration pattern to allow a local registry at registry.local:5010. section 5.3
