docker命令行只有通过boot2docker工具才可以开启么?
迷茫
迷茫 2017-04-21 11:18:50
0
5
694

貌似windows命令行中不能直接使用docker命令,需要用boot2docker引导到docker命令行窗口:(

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(5)
黄舟

Under Windows, docker is really not playable, so I guess it’s just a taste of the novelty, and it has only started to support windows in the past few months. As far as I know, there is only boot2docker.
Now that virtualbox is installed, why not install ubuntu to try out docker without having to worry too much about peripheral tools

伊谢尔伦

Docker runs on Linux in a virtual machine under Windows, so you have to use the Linux terminal. boot2docker should use ssh to connect to linux. Of course, you can also use your favorite, such as the powerful xshell

阿神

Since docker is based on the LXC function of the Linux kernel, it cannot be used directly on Windows, at least not yet.

The usual approach is to run a Linux VM in Windows and run Docker on it.

The same is true for Boot2Docker, which actually runs a VirtualBox VM.

黄舟

You can find the bootdocker IP and use xshell to connect to it on your local machine, which is more beautiful

Peter_Zhu

Since Docker is based on the Linux kernel, you must use the Boot2Docker client provided by Docker. It actually installs a lightweight virtual machine in Windows. Please see the official website for specific usage

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!