Docker Community Forums

Share and learn in the Docker community.

How are you guys solving the same network storage mount in multiple containers?

docker

(Alexcreek) #1

My use case for some type of network file system (currently nfs) is sharing pdf’s between web frontends. The volume will be mounted in multiple containers at once.

I was looking at flocker but it appears a flocker volume can only be mounted in one container at a time.

I’m leaning towards mounting the volumes on each docker host so they’d be available to containers regardless of the node. I’m open to suggestions :yum:


(Nathan Le Claire) #2

There is https://github.com/ContainX/docker-volume-netshare and other volume plugins which claim NFS support. Might want to look into those.