docker - 预创建检查错误 : "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"

标签 docker centos virtualbox docker-machine

我在物理 Windows7 上的 VirtualBox 中运行 CentOS。现在在 centOS 我有 Docker,我需要运行

docker-machine create --driver virtualbox host1

但我得到错误

Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"

所以我需要在 CentOS 中再次安装 VirtualBox 吗?如果是,我该怎么做?

非常感谢

最佳答案

是的,你完全正确。你需要先安装 VirtualBox。

你可以通过运行 yum install virtualbox for CentOS 或

sudo apt-get install virtualbox for Ubuntu

这样做,然后运行您的代码,一切顺利

关于docker - 预创建检查错误 : "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45836296/

相关文章:

c++ - 在 VirtualBox 的共享文件夹中构建符号链接(symbolic link)共享库

python - 使用 python paho.mqtt 从 docker 容器通过 ssh 发送数据

c# - 使用 docker 将 microsoft bot 框架部署到 heroku 时出现问题

c# - 在 Linux 上更改主机名和端口托管 .net 核心 DLL

php - 找到 php 5.6 文件夹

networking - Kubernetes,无法访问其他节点服务

macos - Virtualbox 返回 errorID=BLKCACHE_IOERR

python - 将 Oracle Instant 客户端安装到 Python cx_Oracle 的 Docker 容器中

mysql - 如何将本地托管的 MySQL 数据库与 docker 容器连接

nginx - CentOS 6.6 与 Nginx 1.6.2 - 突然无法重启 nginx - nginx : [emerg] open() “/usr/share/nginx/on” failed (13: Permission denied)