In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the installation and configuration process of Docker under Win10". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the installation and configuration process of Docker under Win10".
Operating system: Win10
Download the Docker For Windows installation package: download address
I chose the stable version.
Run the installation package and complete the automatic installation.
Close and log out of Windows and the system will configure it automatically.
After re-logging in, Docker will run automatically. Generally speaking, Hyper-V is not enabled by default, so the following information will be prompted:
Click "Ok" to turn it on automatically. Note that the computer will restart automatically after setting.
After reboot, if the following error occurs, you need to modify bios to enable hardware virtualization.
After success, the following interface prompt appears:
You can register for a Docker ID, but you don't have to.
The installation is done here.
Then let's install the Kitematic tool
In the lower right corner of the taskbar, right-click the Docker icon and click "Kitematic"
Click "Download", download the Zip package, extract it to the installation path of Docker, and rename it to the "Kitematic" directory.
Then click "Kitematic" in the Docker menu again to open it.
Sign up for your own personal warehouse account, you can register or skip it.
When you come in, you can see the main interface:
Then we create a container for mongodb:
Click Create, and automatically download image to your local location after the first time.
Then we can see the configuration of the mount volume:
You will find that we can not properly specify the local path, what is the problem?
The main reason is that you need to enable "Shared Drivers" of Docker:
You need to enter the user name and password of Win10. You can only enter the password of the currently logged in user:,
Select the drive letter that needs to be shared, and disk C is not recommended. Then you will find that you can't set the specified drive letter properly. What's going on?
There are two main reasons:
1. Check the firewall to see if Docker is allowed to access port 443
two。 Reinstall the "File and Printer sharing for Microsoft Network" service of the vEthernet (DockerNAT) network adapter
Restart the computer, and then open the shared disk again.
After successfully setting up, configure the local path of the mount volume.
All right, let's stop here and have a good time.
# 2018-9-29 update supplement #
Using portainer to manage containers in docker for win
Open the Kitematic drawing management tool and search for portainer images
Create an image and define the port to host 9000 port (this custom)
The host can access http://localhost:9000 directly.
Configure the node, we choose the remote connection method
Here is a very obscure place, that is, how do we fill in the ip address of the host? in docker for win, we need to open port 2375 first.
From here, it is localhost, and this is the host, so our portainer is in the virtual machine, so how to access the docker service of the host for the virtual machine?
In fact, it is very simple, we just need to fill in docker.for.win.localhost:2375.
Connected successfully
We can easily use portainer to manage containers.
Thank you for your reading, the above is the content of "Docker installation and configuration process under Win10". After the study of this article, I believe you have a deeper understanding of the installation and configuration process of Docker under Win10, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.