Docker问题处理
目录
x509: certificate signed by unknown authority
docker pull
或 docker login 192.1.11.18
报错
|
|
解决方法:
-
在
/etc/docker/daemon.json/daemon.json
添加{insecure-registries":["192.1.11.18"]}
,sudo systemctl restart docker
-
MacOS Docker Desktop -> Preferences -> Docker Engine
Configure the Docker daemon by typing a json Docker daemon configuration file.
添加
"insecure-registries":["192.1.11.18"]
1 2 3 4 5 6 7 8 9 10 11 12 13
{ "experimental": false, "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "features": { "buildkit": true }, "insecure-registries":["10.1.110.188"] }