解决docker: error pulling image configuration: Get https://registry-1.docker.io/v2/library/mysql/: TLS
Posted 昵称已存在嘿
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决docker: error pulling image configuration: Get https://registry-1.docker.io/v2/library/mysql/: TLS相关的知识,希望对你有一定的参考价值。
出现这个问题,一般的原因是无法连接到 docker hub,通过:
systemctl stop docker
echo "DOCKER_OPTS="$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io"" | sudo tee -a /etc/default/docker
service docker restart
以上是关于解决docker: error pulling image configuration: Get https://registry-1.docker.io/v2/library/mysql/: TLS的主要内容,如果未能解决你的问题,请参考以下文章