2 ms·
How do you handle access to network shares?
by ghostly_s 5y ago
How do you handle access to network shares?
- mavhc 5y agoI've not yet, but root inside the container is the user docker is running as outside, so I assume if that user can access the share it would be ok. What protocol were you thinking of?
- ghostly_s 5y agoNFS or SMB. Just wondering as I've recently started exploring (lxc) containerization in my home lab and that was the big roadblock I hit with unprivileged containers. I guess the solution as you suggest is to mount in host and bind-mount in the ct, but that seems pretty unappealing for multiple reasons- it breaks the logical compartmentalization of app config in the container, no visibility on the server of which ct owns a connection, can't scope nfs permissions per container etc.