Win7 install Docker

1. Set the BIOS, open virtualization support

  Find the Intel Virtual Technology to Enable

2. official website to download Docker Toolbox

  https://docs.docker.com/toolbox/overview/

3. fool the next installation, run the installation is complete Desktop Docker Quickstart Termina

4. The first time you start the download boot2docker.iso, recommended to manually download and then placed in the following directory

  C:\Users\<UserName>\.docker\machine\cache

5. Verify Installation

  docker --version

  docker run hello-world

6. Ali cloud configuration mirroring

  Log console container search image service, the lower left corner "Mirror Center -> Mirror accelerator" to get the accelerator address

  Docker toolbox into the installation directory, shift + right, open cmd

  Sequentially inputted

    docker-machine ssh default

    sudo sed -i "s | EXTRA_ARGS = '| EXTRA_ARGS =' - registry-mirror = Accelerator address | g" / var / lib / boot2docker / profile  

    exit

    docker-machine restart default

  Waiting for restart successfully

7. commonly used commands

  docker images

  docker pull <image name>

  docker ps

  docker ps -a

  docker start <container id>

  docker stop <container id>

 

 

Reference article:

  https://blog.csdn.net/xiangxiezhuren/article/details/79698913  installation

  https://blog.csdn.net/u013810234/article/details/78483055  problem solving & common commands

  https://blog.csdn.net/vividTnT/article/details/84071694  configuration Ali cloud

Guess you like

Origin www.cnblogs.com/tarencez/p/11840348.html