Docker Community Forums

Share and learn in the Docker community.

Docker 1.7.1 on centos 6.7 not mount cifs external driver

docker

(Mauriziobioinfo) #1

I have this docker in my centos 6.7 :
[maurizio@qui Desktop]$ docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64
[maurizio@qui Desktop]$

I’m not able to use -v on container
I have a external hard drive (qnap) and I mounted on my pc using this command:

mount -t cifs //172.17.175.173/STG-ILLUMINA1 /mnt/qnap1/ -o username=user1,domain=MASTER,uid=mauro,docker

docker run -d -p 8081:80 -v //172.17.175.173/STG-ILLUMINA1/galaxy/:/export/ bgruening/galaxy-stable

Because I can’t upgrade the centos 6.7 and so I do not have --volume-driver on my docker comand .How can fix this?
thanks so much for any help!


(David Maze) #2

What happens if you put the host mount point, not the CIFS path, in the docker run -v option? -v /mnt/qnap1:/export?

…run a newer OS with a newer kernel in a VM? You should be able to use Docker Machine to create a VirtualBox VM, and the boot2docker image it provides should have current Docker and its OS dependencies.


(Mauriziobioinfo) #3

thanks for the help!!
If I use the mount it is the same situation.No way to mount…

For the suggestion of VM. How can I do ? have you any tutorial on that?
Because I need to do some intensive calculation I suppose to do something very simple.