docker-volume-netshare | Docker NFS, AWS EFS, Ceph & Samba/CIFS Volume Plugin | Continuous Deployment library
kandi X-RAY | docker-volume-netshare Summary
kandi X-RAY | docker-volume-netshare Summary
Docker NFS, AWS EFS, Ceph & Samba/CIFS Volume Plugin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-volume-netshare
docker-volume-netshare Key Features
docker-volume-netshare Examples and Code Snippets
Community Discussions
Trending Discussions on docker-volume-netshare
QUESTION
I have a compose file with v3 where there are 3 services sharing/using the same volume. While using swarm mode we need to create extra containers & volumes to manage our services across the cluster.
I am planning to use NFS server so that single NFS share will get mounted directly on all the hosts within the cluster.
I have found below two ways of doing it but it needs extra steps to be performed on the docker host -
Mount the NFS share using "fstab" or "mount" command on the host & then use it as a host volume for docker services.
Use Netshare plugin - https://github.com/ContainX/docker-volume-netshare
Is there a standard way where i can directly use/mount NFS share using docker compose v3 by performing only few/no steps(I understand that "nfs-common" package is required anyhow) on the docker host?
...ANSWER
Answered 2017-Dec-07 at 14:29Yes you can directly reference an NFS from the compose file:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-volume-netshare
Install the Package
Modify the startup options in /etc/default/docker-volume-netshare
Start the service service docker-volume-netshare start
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page