Docker installation on windows7

 

I want to install docker on windows7, it was very easy to install docker on mac before. I also went to docker's official website: https://www.docker.com/  and downloaded the Windows installer InstallDocker.msi to install it. I found that it could not work, and an error was reported, prompting me to use docker-toolbox to install it. So I ran to docker's official website ( https://www.docker.com/products/docker-toolbox ) to download docker-toolbox, install it (pay attention to choosing to install git, it is very useful), and then 3 applications will be installed, respectively Yes:

  1. Docker Quickstart Terminal
  2. Kitematic (Alpha)
  3. Oracle VM VirtualBox
  4. Git Bash

Double-click the Docker Quickstart Terminal to run the program, it will download the Boot2Docker application (the download may vary due to different network speeds) and start docker.

In fact, the docker running on windows7 is running in the virtual machine of Oracle VM VirtualBox. It will assign an IP address to the docker, usually: 192.168.99.100. How do we use docker?

Step 1: Start the Docker Quickstart Terminal, that is, start the virtual machine and the docker application

Step 2: Run Git Bash and link the virtual machine via ssh: $ ssh [email protected] The default password is: tcuser

Step 3: Verify docker. After connecting to the virtual machine, you can enter $ docker --version to view the version of docker.

 

Useful references:

  1. Using Docker with Boot2Docker (toolbox installs Docker under Windows)

Address: http://www.iganlei.cn/environment-configuration/798.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326378814&siteId=291194637