-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work on ubuntu server 20.04 #49
Comments
Hello and my apologies for the super-long delay in responding. A quick look at your version: '3'
services:
nfs:
container_name: nfs
image: erichough/nfs-server:latest
network_mode: 'host'
privileged: true
volumes:
# Config
- '/docker/data/nfs/exports:/etc/exports:ro'
# Shares
- '/mnt/Backups:/Backups'
- '/mnt/Documents:/Documents'
- '/mnt/Multimedia:/Multimedia'
restart: unless-stopped
# THESE LINES ARE MISSING ...
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvv
ports:
- 2049:2049
- 2049:2049/udp
- 111:111
- 111:111/udp
- 32765:32765
- 32765:32765/udp
- 32767:32767
- 32767:32767/udp Give that a try? |
No worries and thanks for getting back to me. I am using Edit: When testing earlier using port-mapping I used non-existing nfs-paths as I restructured some stuff some time ago. |
Okay, one more update. I wasn't aware that As such docker-nfs silently fails in host-mode or complains when trying to bind to Solution: Either remove |
On top of
|
While the container starts up properly without any errors, I'm unable to connect from any client.
While using the hosts
nfs-server.service
everything works as expected.I sadly have no idea how to debug any of this but will gladly help any way I can.
Not sure if this is connected to #41 maybe?
Infos
Apparmor I disabled and I ultimately outright purged it (don't need it)
Edit Friend just told me that it's part of the kernel. I did test with
apparmor=0
though whichdidn't work either
docker-compose
Startup-log
The text was updated successfully, but these errors were encountered: