In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install DOCKER windows 7, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Windows must be 64-bit
1. Download the package
Install package https://github.com/boot2docker/windows-installer/releases
Download the latest version: docker-install.exe.
After the installation of the installation package is complete, there will be three more software on the system:
Oracle VM VirtualBox
Git
Boot2Docker for Windows
The above three can be installed by default.
two。 Set environment variabl
In the command window, enter ls if you can find the command, indicating that the environment is added correctly.
3. Start DOCKERT
In the command window, cut to the installation directory of docker
Enter sh:
Then type start.sh and wait for startup
During the first startup, if there is a new version, it will be updated for a long time.
If it starts for the second time, it will be very fast.
4. Analyze start.shrunken binapash 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
In terms of content, it is mainly execution, as follows
Boot2docker.exe initboot2docker.exe startboot2docker.exe ssh
All you need to do is execute sh start.sh on the command line.
5. Using SSH tools to manage
After the windows command line enters docker, it cannot be copied, and the operation is not convenient, so it is good to use tools that support SSH, such as SECURECRT, PUTTY, etc., SECURECRT is recommended.
You can query IP with boot2docker ip on the command line.
The default user name and password is: docker/tcuser
The interface after login:
6. Download Image 6.1 download address
Http://download.openvz.org/template/precreated
Choose to download ubuntu-14.04-x86_64.tar.gz
6.2.Using FTP tools to upload tar packages
Recommended: FileZilla
6.3 installation
Command: cat ubuntu-14.04-x86_64.tar.gz | docker import-ubuntu:ubuntu14
The speed is so fast that it will be completed in about 10 seconds.
6.4 View Mirror
Viewing: docker images
6.5 Operation
Run: docker run-I-t ubuntu:ubuntu14 / bin/bash
You can start your DOCKER trip.
There is a problem:
If the docker images command cannot be executed, it may be because the docker background process is not started.
Need to execute sudo docker-d
Thank you for reading this article carefully. I hope the article "how to install DOCKER windows 7" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.