Explain the function of static keyword and final keyword in Java in detail>>>
Here’s the command:
docker run -itd –name test01 ubuntu
Error:
Solution:
Add the following configuration in/etc/docker/daemon.json:
[ root@node01 docker]# cat daemon.json
{“debug”:true,”registry-mirrors”: [” http://hub-mirror.c.163.com “],”insecure-registries”:[“registry-1.docker.io”]}
It mainly includes “debug”: true and “insure registers”: [“registry-1. Docker. IO”]
“registry-mirrors”: [” http://hub-mirror.c.163.com “] is to use the domestic Netease image for acceleration
later, I found that the above method still failed. Finally, I used the alicloud image to do it:
uses his Alipay account to log on to Ali cloud: https://www.aliyun.com/
Then visit the following address: https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
As shown in the figure below:
Everyone’s image address is different. Copy the code in the bottom red box to change the image into an alicloud image
It’s done
Similar Posts:
- [Solved] http: server gave HTTP response to HTTPS client
- [Solved] Error in docker pull down image“ https://registry-1.docker.io/v2/ : Net / http: TLS handle timeout “how to handle?
- How to Solve Docker push Error: denied: requested access to the resource is denied
- Harbor 443 connect connection refused [How to Solve]
- Docker ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [How to Solve]
- An error is reported when logging into harbor warehouse with docker login of other hosts
- Solutions to docker pull error reporting
- [Solved] Docker Starup Error: Failed to start Docker Application Container Engine.
- Tensorflow Warning: cona The environment is inconsistent, please check the package plan carefully
- When Docker installs an Mirror: failed to get default registry endpoint from daemon