简体   繁体   English

Linux 中的 Docker 机器错误

[英]Docker-machine error in Linux

码头机器错误

I want to create docker-machine device in CentOs我想在CentOs创建CentOs docker-machine设备

But when i create docker-machine it has message that Error with pre-create check:但是当我创建 docker-machine 时,它​​有消息说预创建检查出错:

"VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"

What should i do??我该怎么办??

In my case docker-machine was installed under /snap/bin/ and also in /usr/bin.在我的情况下,docker-machine 安装在 /snap/bin/ 和 /usr/bin 下。 The one being used was from /snap/bin and was not working.正在使用的一个来自 /snap/bin 并且无法正常工作。 I explicitly invoked /usr/bin/docker-machine -d virtualbox default and that worked.我明确调用了 /usr/bin/docker-machine -d virtualbox default 并且有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM