Open ghost opened 1 year ago
Have you tried modifying this: https://github.com/maggie0002/docker-nfs/blob/46e8cea80b2e53d8733df839222d6e992df11f21/docker-compose.yml#L15
If you have and this isn't helping, I would need to know more about where the error is from and when to be able to help.
There is also a newer version of NFS serving that may be helpful: https://hub.balena.io/organizations/maggie0002/blocks/nfs-server
What im trying to do, is to add a volume I'm already using as a download folder and make it accessible to my whole network. Since I'm new to docker and all that stuff I'm confused why there are two lines with volume in the compose file and where i should add my volume bind. So I tried both lines and ended up having the error as mentioned.
Am 27. September 2022 17:30:57 MESZ schrieb maggie0002 @.***>:
Have you tried modifying this: https://github.com/maggie0002/docker-nfs/blob/46e8cea80b2e53d8733df839222d6e992df11f21/docker-compose.yml#L15
If so, I would need to know more about where the error is from to be able to help.
There is also a newer version of NFS serving that may be helpful: https://hub.balena.io/organizations/maggie0002/blocks/nfs-server
-- Reply to this email directly or view it on GitHub: https://github.com/maggie0002/docker-nfs/issues/1#issuecomment-1259678031 You are receiving this because you authored the thread.
Message ID: @.***>
This block is probably better then: https://hub.balena.io/organizations/maggie0002/blocks/nfs-server
You could change the volume name from nfs:/nfs
to your-existing-volume:/nfs
.
services:
nfs:
image: bh.cr/maggie0002/nfs-server
volumes:
+ - "nfs:/nfs"
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.kernel-modules: "1"
io.balena.features.sysfs: "1"
io.balena.features.procfs: "1"
# If content from your primary image is required in the volume ensure this container depends
# on the primary image. This will ensure your primary container creates the volume and inserts
# your content.
# depends_on:
# - name_of_primary_container
volumes:
nfs: