3

I have installed latest Docker Toolbox 1.11.2 on Windows 10. When I run $ docker-machine create -d virtualbox default - virtualbox creates image, everything is fine. Shared folders are configured by default:

enter image description here

When I connect to image using $ docker-machine ssh - shared folder is not mounted. And even if I try to mount it manually, I get the following error:

$ sudo mkdir -p /c/Users && sudo mount -t vboxsf -o defaults,uid=`id -u docker`,gid=`id -g docker` c/Users /c/Users
mount.vboxsf: mounting failed with the error: Invalid argument
mount: mounting c/Users on /c/Users failed: Protocol error
  • Usually, starting the docker Quickstart Terminal or Kitematic creates the default VM automatically. I'm not sure what you might miss by doing it manually. – CAB Dec 13 '17 at 15:16
0

You need to install Virtual Guest Additions on your virtual machine, by selecting Insert Guest Additions CD Image from the Devices menu.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.