DOCKER Windows 7 Detailed installation tutorial

Source: Internet
Author: User
Tags docker run oracle vm virtualbox vm virtualbox

    • DOCKER Windows installation

      • 6.1

      • 6.2 Uploading the TAR package with the FTP tool

      • 6.3 Installation

      • 6.4 Viewing Mirrors

      • 6.5 Run

      • 1. Download the package

      • 2. Setting Environment variables

      • 3. Start Dockert

      • 4. Analysis start.sh

      • 5. Manage with SSH tools

      • 6. Download the image

Windows must be a 64-bit

1. Download the package

installation package Https://github.com/boot2docker/windows-installer/releases

Download the latest version of: Docker-install.exe.
After the installation is complete, there will be three more software on the system:

Oracle VM VirtualBox
Git
Boot2docker for Windows

The above three default installations are available.

2. Setting Environment variables



In the Command window, enter LS If you can find the command stating that the environment was added correctly.

3. Start Dockert

In the command window, cut to the Docker installation directory

Input SH:
Then enter start.sh, waiting to start


In the first boot, if a new version is updated, the time is longer.

If you start the second time, it's very fast.

4. Analysis start.sh
#!/bin/bashset-e# clear the MSYS motdclearcd "$ (dirname" $BASH _source ")" iso= "$HOME/.boot2docker/boot2docker.iso" if [! -E "$ISO"];    Then echo ' copying initial boot2docker.iso (run "boot2docker.exe download" to update) ' Mkdir-p "$ (dirname" $ISO ")" CP./boot2docker.iso "$ISO" Fiecho ' initializing ... './boot2docker.exe initechoecho ' starting ... '/boot2docker.exe Startecho./boot2docker.exe ipecho ' Connecting ... './boot2docker.exe sshechoechoecho ' [Press any key to exit] ' read

From the content of the main is to execute, the following statement

Boot2docker.exe initboot2docker.exe startboot2docker.exe SSH

All the sh start.sh can be executed at the command line

5. Manage with SSH tools

After the Windows command line enters Docker, cannot copy, and the operation is not convenient, so with the support of SSH tools to manage is very good, such as SECURECRT, putty, etc., recommended with SECURECRT.
The IP can be queried at the command line using the Boot2docker IP



The default user name and password are: docker/tcuser


Post-Login Interface:

6. Download the image6.1

http://download.openvz.org/template/precreated
Select Download ubuntu-14.04-x86_64.tar.gz

6.2 Uploading the TAR package with the FTP tool

Recommended Use: FileZilla


6.3 Installation

Command:cat ubuntu-14.04-x86_64.tar.gz |docker import-ubuntu:ubuntu14
It's very fast, about 10 seconds to complete.

6.4 Viewing Mirrors

View: Docker images

6.5 Run

Run:Docker run-i-T Ubuntu:ubuntu14/bin/bash


You can start a Docker trip.


DOCKER Windows 7 Detailed installation tutorial

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.