[root@k8s-master1 k8s-01]# docker login 172.18.8.214
Username: admin
Password:
Error response from daemon: Get https://172.18.8.214/v2/: dial tcp 172.18.8.214:443: connect: connection refused
[root@k8s-master1 k8s-01]#
Load the image locally and use HTTP or HTTPS. By default, the HTTPS protocol must be used. If you confirm that you do not use secure, you can use HTTP
[root@k8s-master1 k8s-01]# cat /etc/docker/daemon.json
{
"registry-mirrors":["https://0cde955d3600f3000fe5c004160e0320.mirror.swr.myhuaweicloud.com"],
"insecure-registries": ["172.18.8.214", "172.18.8.215"]
}
[root@k8s-master1 k8s-01]#
Start docker validation
[root@k8s-master1 k8s-01]# systemctl restart docker
[root@k8s-master1 k8s-01]# docker login 172.18.8.214
Username: admin
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[root@k8s-master1 k8s-01]#
Read More:
- xrdp_mm_process_login_response:login failed
- docker Error response from daemon: Bad response from Docker engine
- Error response from daemon: Get https://20.0.0.100/v2/: dial tcp 20.0.0.100:443: connect: connection
- docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled
- docker: Error response from daemon: driver failed programming external connectivity on endpoint
- Docker error response from daemon: Conflict: unable to deletexxxxx
- Error response from daemon: Conflict: unable to delete 8598c91556dc (must be forced)
- docker: Error response from daemon: driver failed programming external connectivity on endpoint lamp
- Error response from daemon: OCI runtime create failed: container_linux.go:380
- When docker creates a container command: Error response from daemon: No command specified
- [Four Solutions] FTP Login Error: 530 Login incorrect.Login failed”
- Docke Run: response from daemon: OCI runtime create failed: container with id exists:XXX:unknown
- Error response from daemon: failed to parse mydockerfile-centos: ENV must have two arguments
- Docker delete error response from daemon: Conflict: unable to delete xxxxx solution
- The docker runtime container reported an error: error response from daemon: OCI runtime create failed
- Docker creation container cannot find network card: error response from daemon: network XXXX not found
- Error response from daemon: OCI runtime exec failed: exec failed: container_linux.go:345:
- [Sovled] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
- Error response from daemon: manifest for *** not found: manifest unknown: manifest unknown
- Error message error response from daemon: RPC error: code = unavailable when deploying swarm cluster. Solution: