DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Speed up docker pull


For Ubuntu 16.04.

Pull with docker pull daocloud.io/mysql:5.7 makes it faster a little. Pull with docker pull registry.docker-cn.com/library/mysql:5.7 makes it faster a little.

Add the foloowing line to /etc/default/docker: DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --registry-mirror=https://docker.mirrors.ustc.edu.cn"

Restart docker service: sudo systemctl restart docker



Published

Oct 16, 2017

Last Updated

Oct 16, 2017

Category

Tech

Tags

  • docker 10
  • speed up 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor