Execute docker pull xx.xx.xx.xx/xx/xx to download the image of the private library. The errors are as follows:
Error response from daemon: Get https://xx.xx.xx.xx/v2/: Service Unavailable
The reason is that docker supports HTTPS protocol by default, while the private library is HTTP protocol.
Mac desktop can be in preferences – & gt; Configure the following code in docker engine. Xx.xx.xx.xx is the address of your private library.
{
"insecure-registries":[
"xx.xx.xx.xx"
]
}
CentOS system, modify/etc/docker/daemon.json, and add the following code.
{
"insecure-registries":[
"xx.xx.xx.xx"
]
}
Add here
Read More:
- [Solved] error during connect: This error may indicate that the docker daemon is not running
- [Solved] CentOS build a docker error: job for docker.service failed….
- [Solved] docker Error response from daemon OCI runtime create failed container_linux.go380
- [Solved] harbor Error: because it doesn‘t contain any IP SANs
- Start Docker Quickstart Terminal error This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated
- Docker Open Error: Warning: docker.service changed on disk. Run ‘systemctl daemon-reload‘ to reload unit
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- [Solved] Docker failed to start daemon: error initializing graphdriver: driver not supported
- [Solved] Error response from daemon: Get “*“: x509: certificate signed by unknown authority
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- Docker Build Error: Failed to get D-Bus connection: Operation not permitted [Solved]
- [Solved] System.InvalidOperationException: Failed to deploy distro docker-desktop……
- [Solved] Error in installing docker requires: fuse overlayfs >= 0.7
- [Solved] Docker Error: Failed to connect to bus: Host is down
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- [Solved] Docker Error: got permission denied while trying to connect to the docker daemon socket at…
- [Solved] K8s Initialize Error: failed with error: Get “http://localhost:10248/healthz“
- [Solved] Docker Error: WSL 2 installation is incomplete.
- No repositories directory found inside registry_ DATA_ DIR
- Jenkins reported an error when running the docker permission in the shell script