Search code examples
windowsdockerboot2docker

Boot2Docker: Can't create directory: Protocol Error


Trying to learn Docker in a windows machine. When I was trying create a new directory inside the shared User folder (/c/Users) by executing sudo mkdir sample but getting an error saying Can't create directory 'sample': Protocol Error.

Any pointers to resolve this issue would be helpful.


Solution

  • VirtualBox does mount automatically C:\users (see VirtualBox Guest Additions), but that does not mean you can create anything directly in C:\Users (not without Administrative privilege, and sudo don't apply here)

    You can create anything you want in your own folder: C:\Users\mylogin