Skip to content

Shared folders do not work with VMware Fusion 11.0.1 #15

@StefanScherer

Description

@StefanScherer

I tried to create a Docker Machine with the boot2docker 18.06.1 ISO with both the built-in vmwarefusion driver and this vmware driver plugin from this repo, but with both I see an error mounting the shared folder into the VM.

I'm using VMware Fusion Pro 11.0.1 on macOS 10.14 and docker-machine 0.15.0 from Docker for Mac 18.06.1-ce-mac73.

vmware driver

With the machine-drivers/docker-machine-driver-vmware driver (here is the gist of the debug output) a machine is created, but there is no shared folder

$ docker-machine -D create -d vmware --vmware-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2docker.iso vm18061
~/code/boot2docker on master*
$ ls 
Dockerfile      LICENSE         README.md       comment.md      stack.yml
~/code/boot2docker on master*
$ docker run -v $(pwd):/code alpine ls -a /code
.
..

-> lines 358ff of the debug output during creation shows errors Error: There was an error mounting the Shared Folders file system inside the guest operating system

vmwarefusion driver

With the vmwarefusion driver (here is the gist of the debug output) the creation aborts with an error.

$ docker-machine -D create -d vmwarefusion --vmwarefusion-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2docker.iso vmw18061
...
Error creating machine: Error in driver during machine creation: exit status 255
notifying bugsnag: [Error creating machine: Error in driver during machine creation: exit status 255]

# try to enable shared folder manually again:

$ "/Applications/VMware Fusion.app/Contents/Public/vmrun" -gu docker -gp tcuser enableSharedFolders /Users/stefan/.docker/machine/machines/vmw18061/vmw18061.vmx
Error: There was an error mounting the Shared Folders file system inside the guest operating system

Does anybody else experience this problem with VMware Fusion 11?

Metadata

Metadata

Assignees

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