Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Error creating machine: Error in driver during machine creation: /usr/local/bin/VBoxManage sharedfolder add default --name hosthome --hostpath /home --automount failed: #4890

Open
Marietto2008 opened this issue Jul 8, 2021 · 0 comments

Comments

@Marietto2008
Copy link

I'm trying to install and configure docker on FreeBSD but this is what happened at some point :

[zioma@lozioma ~]$ docker-machine create -d virtualbox default

Creating CA: /home/zioma/.docker/machine/certs/ca.pem
Creating client certificate: /home/zioma/.docker/machine/certs/cert.pem
Running pre-create checks...
(default) Image cache directory does not exist, creating it at /home/zioma/.docker/machine/cache...
(default) No default Boot2Docker ISO found locally, downloading the latest release...
(default) Latest release for github.com/boot2docker/boot2docker is v19.03.12
(default) Downloading /home/zioma/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v19.03.12/boot2docker.iso...
(default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(default) Copying /home/zioma/.docker/machine/cache/boot2docker.iso to /home/zioma/.docker/machine/machines/default/boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
Error creating machine: Error in driver during machine creation: /usr/local/bin/VBoxManage sharedfolder add default --name hosthome --hostpath /home --automount failed:
VBoxManage: error: Shared folder path '/home' is not a directory
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component SharedFolderWrap, interface ISharedFolder, callee nsISupports
VBoxManage: error: Context: "CreateSharedFolder(Bstr(pszName).raw(), Bstr(szAbsHostPath).raw(), fWritable, fAutoMount, Bstr(pszAutoMountPoint).raw())" at line 1194 of file VBoxManageMisc.cpp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant