Connect NFS share to Docker

pixelwave

New Member
Jan 26, 2023
18
2
3
Hi,

I am not sure if that is the right place but maybe someone can help me understanding an error ...

The following setup:

  • Proxmox as Hypervisor
  • TrueNAS Scale as VM
  • Ubuntu with Docker & Portainer as LXC

Now I did setup an NFS share in my TrueNAS system and shared it with the proxmox host. Works fine!

1674722962816.png

Now I want to setup a volume in my portainer instance referencing to an NFS share from the TrueNAS system as well.. but I get "Failure Request failed with status code 500" when I try to mount the volume in a container?

1674723131772.png
1674723174898.png

I even setup "Mapall User" and entered the IP address of the portainer instance in the TrueNAS nfs settings:

1674723258534.png

1674723229867.png

... what am I missing?
 
Last edited:
So I just double-checked with a fresh debian vm install (instead of LXC container). There is works. So it seems to be a limitation of the LXC setup. I also tried to uncheck "unprivileged" in the install but then I got plenty of "app armour" error when trying to install portainer ...
 
Ok going further it seems to be a problem with the ubuntu template. I now installed Debian 11 (Standard LXC template) as privileged container and it works! :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!