docker deployment environment -windows

 docker deployment environment -windows

 

 

1.      docker windows

1.1. Installation

win7 win8 need to use or to install docker Toolbox, which is a set of tools docker, win10 comes Docker installation package.

 

Download the installation file

By aliyun image download (recommended):

http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/

Through the official website to download: https: //www.docker.com/get-started

The download is complete: DockerToolbox-1.10.0.exe 

 

Installation: Slightly

The installation is complete:

 

1.1.1.   docker toolbox

docker toolbox is a set of tools, which mainly include some of the following elements:

Docker CLI client to create a mirror and engine running docker container

Docker Machine. Docker engine lets you run commands in windows command line

Docker Compose. Docker-compose used to run the command

Kitematic. This is a GUI version of Docker

Docker QuickStart shell. This is already configured Docker's a command-line environment

Oracle VM Virtualbox. Virtual Machine

 

 

1.2. Run

 

Because Docker daemon relies on linux kernel, it is not possible to run Docker directly in the windows environment. Docker solution is to create a virtual machine and attached to the top of it using the docker-machine command. The Docker Docker virtual machine to provide service to your windows system.

The Docker virtual machine optimized for the windows operating environment is too lightweight, runs entirely in memory, very small, no more than download 24M, 5 Miao it can start.

 

Click Docker QuickStart icon to start Docker Toolbox terminal.

 

Note that the default ip 192.168.99.100

 

1.3 The problem

1.3.1. Can not find bash

Symptom:

After the first installation click Docker QuickStart, error can not find bash

The reason is that it will go to find the git bash.exe, and call it; and this machine has already git installed, Docker QuickStart Lane pointed bash.exe wrong path;

Solution:

Found git bash path and to modify the parameters, the unit D in the disc git, disk D can be changed.

 

1.3.2.   virtualbox e_nointerface

Symptom:

 

virtualbox e_nointerface

Error code 0x80004002

 

Solution:

Modify the registry:

regedit to open the registry

Find HKEY_CLASSES_ROOT \ CLSID \ {00020420-0000-0000-C000-000000000046} \ InprocServer32 the default value of% SystemRoot% \ System32 \ oleaut32.dll amended as C: \ Windows \ System32 \ oleaut32.dll

 

Found HKEY_CLASSES_ROOT \ CLSID to the same default value \ {00020424-0000-0000-C000-000000000046} \ InprocServer32% SystemRoot% \ System32 \ oleaut32.dll modified as C: \ Windows \ System32 \ oleaut32.dll

Then reopen VirtualBox

 

Guess you like

Origin www.cnblogs.com/wodeboke-y/p/11361266.html