Docker 常见问题
1、Docker search mysql 报错
Error response from daemon: Get https://index.docker.io/v1/search?q=mysql&n=25: net/http: TLS handshake timeout
解决方案:
vim修改/etc/docker/daemon.json追加以下内容:
{
"registry-mirrors": ["https://f1z25q5p.mirror.aliyuncs.com"]
}
再次进行搜索镜像:docker search mysql