Win7 setting up a Docker accelerator

Source: Internet
Author: User

Originally has a special has a source from the Docker accelerator, the company's computer is a Mac, configuration is very simple, but my own computer is Win7, in the actual operation of the time is really tired ah, the official website of the tutorial do not know why did not effect, so eventually still find other people posted posts, may I open the wrong way, But finally set up, record the following bar.

Operation Steps:

1. First go to the directory of your own corresponding Docker

2. Type docker-machine ssh default and go inside the virtual machine

3. Set Accelerator address

sudo sed-i "s| Extra_args= ' | Extra_args= '--registry-mirror= ' Here is your accelerator address "|g"/var/lib/boot2docker/profile

4. Exit and restart the virtual machine to make it effective

Exit

Docker-machine Restart Default

Docker-machine env Default

Win7 setting up a Docker accelerator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.