docker 问题整理收集
1、
解决 docker: Error response from daemon: ... : net/http: TLS handshake timeout.
执行
$ sudo docker run hello-world
时出现:
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: net/http: TLS handshake timeout.
See 'docker run --help'.
解决办法:
使用国内的Docker仓库daocloud:
$ echo "DOCKER_OPTS=\"\$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io\"" | sudo tee -a /etc/default/docker $ sudo service docker restart
2、
问题 :docker info
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support