Lets you play Docker and Nginx friendly on Windows

Source: Internet
Author: User
Tags windows 7 x64 oracle vm virtualbox vm virtualbox

Lets you play Docker and Nginx friendly on Windows

Lab Environment:
Windows 7 X64
Dockertoolbox-18.02.0-ce
Boot2docker-v18.02.0-ce
The above two things really bad download, the following I provide the address to everyone:
Https://pan.baidu.com/s/11eMFfNc9TzZb8NEDFnYHqg
Password: Wnov

  1. Install Dockertoolbox-18.02.0-ce (default installation Here, select All, if you have an Oracle VM VirtualBox, remove that tick when installing)
  2. Three more icons on the desktop after installation is complete
  3. Run Docker Quickstart Terminal. If the first run fails, I suggest giving it up, it's disgusting.
  4. Put the BOOT2DOCKER-V18.02.0-CE directly in the following directory:
    A) C:\Users\Administrator.docker\machine\cache\boot2docker.iso
    b) C:\Users\Administrator.docker\machine\machines\default\boot2docker.iso
  5. The above two paths are in Docker Quickstart Terminal. The Run Times error will prompt the installation path (depending on your situation)
  6. After normal startup you will find, for example, that the virtual machine automatically loads Boot2docker.iso running a default virtual machine:
  7. Then we will take the virtual machine as a process to run, through the Xshell to manage it is not better:
    A) Create a script that automatically starts the virtual machine Docker On.bat:
    @echo off
    CD C:\Program Files\oracle\virtualbox
    Vboxmanage STARTVM Default-type Headless
    Pause
    Exit
    b) Create a script that automatically shuts down the virtual machine Docker Off.bat:
    @echo off
    CD C:\Program Files\oracle\virtualbox
    Vboxmanage CONTROLVM Default Poweroff
    Pause
    Exit
    PS: Here The default is the name of your virtual machine, the script is saved in. bat format:
  8. Double-click on the script to switch the test; (like a friend of the study to see the script in the command ha, how to achieve.) )
  9. By connecting the virtual machine that we just set up via Xshell, Docker Quickstart terminal is discarded directly
    A) default VM login is docker, password is Tcuser
    b) Ssh [email protected]:2986
  10. Successful login:
  11. Install Docker image, install Nginx and so on first skip, follow-up supplement
  12. The 32769 port in the figure above is the random port of the Docker interactive process, which is the test demo. To make it easy for notebooks to be tested on the browser
  13. See figure:

    PS: We recommend that you have the condition or go to the server, Linux environment is much better.
    51 Blog can not support word directly copy and paste, pictures to pass, tired of a horse.

Lets you play Docker and Nginx friendly on Windows

Related Article

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.