The problem is that the server is configured for HTTP access, while the local docker requests the HTTPS service
Generally, registry is involved in this problem
windows docker processing method
The server of window docker is default, so you need to modify the default configuration
1. Start docker QuickStart
2. Enter default
docker-machine ssh default
3. Switch to root user, because docker user access configuration file is system
sudo -i
4. Modify the extra in the
information, add the corresponding access path to it/var/lib/boot2docker/profile
file_ Args
vi /var/lib/boot2docker/profile
Add the code (here the address is modified according to your needs)
--insecure-registry 192.168.7.75:1180
5. quit and restart docker-machine
docker-machine restart
Linux system processing mode (there are corresponding solutions on Linux Network)
1. Switch to the configuration path
cd /etc/docker
2. Create or join in daemon.json
{ "insecure-registries":["192.168.7.75:1180"]}
3. Restart docker
Depending on the version, choose
systemctl restart docker or the command service docker restart
Similar Posts:
- [Solved] http: server gave HTTP response to HTTPS client
- [Solved] Docker ERROR: Couldn’t connect to Docker daemon at http+docker://localunixsocket – is it running?
- Docker-compose Run Error: Couldn’t connect to Docker daemon at http+docker://localhost – is it running?
- Docker ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [How to Solve]
- docker pull Error: Get https://hub.xxx.com/v1/_ping: dial tcp 192.168.1.8:443: getsockopt: connection refused
- [Solved] kuberlet Service Startup Error: “Failed to run kubelet” err=”failed to run Kubelet: misconfiguration: kubelet cgroup driver: \”systemd\” is different from docker cgroup driver: \”cgroupfs\””
- Ubuntu20.04 server Error: Failed to restart docker.service: Unit docker.service not found
- [Solved] Docker Starup Error: Failed to start Docker Application Container Engine.
- [Solved] Error in docker pull down image“ https://registry-1.docker.io/v2/ : Net / http: TLS handle timeout “how to handle?
- Docker Container Error:Failed to get D-Bus connection: Operation not permitted