Docker Community Forums

Share and learn in the Docker community.

Cannot mount volumes with docker-machine and Virtualbox


(Domenico Testa) #1

When using docker-machine with VirtualBox on my linux machine I cannot
get any local volume mounted.

I can get the volumes mounted (using the same options) on OSX.
Do you have any suggestions?

Here are some version information.

$ uname -a
Linux dte-pc 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux

$ docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.6.2
Git commit: 5604cbe
Built: Mon May 2 00:06:51 2016
OS/Arch: linux/amd64

Server:
Version: 1.11.0-rc2
API version: 1.23
Go version: go1.5.3
Git commit: 388f544
Built: Fri Mar 25 20:30:45 2016
OS/Arch: linux/amd64

$ docker-machine --version
docker-machine version 0.5.1 (7e8e38e)

$ VirtualBox --help
Oracle VM VirtualBox Manager 5.0.20_OSE


(Wagaun) #2

Which are the local volume permissions?

As far as I know it need to be chmod -R 777 local_folder


(Domenico Testa) #3

$ stat conf.d

  File: 'conf.d'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 824h/2084d      Inode: 2861        Links: 2
Access: (0755/drwxr-xr-x)  Uid: ( 1000/     dte)   Gid: ( 1000/     dte)
Access: 2016-05-10 11:03:32.823034704 +0200
Modify: 2016-05-10 11:03:32.579705263 +0200
Change: 2016-05-10 11:03:32.579705263 +0200
 Birth: -