Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. 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

@Marietto2008

Description

@Marietto2008

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions