Debian 10 container: cannot mount Samba share


Active Member
Jul 11, 2019
I've set up an Debian 10 container, installed cifs-utils and trying to mount a Samba share (from Synology NAS), which fails:
mount --verbose -t cifs -o user=myuser,domain=mydomain,vers=3.0 //nas1.mydomain.local/Share /mnt/Share
Password for myuser@//nas1.mydomain.local/Share:  ***
mount.cifs kernel mount options: ip=,unc=\\nas1.mydomain.local\Share,vers=3.0,user=mydomain,domain=mydomain,pass=********
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I can do the same on the Proxmox host without problems. Also I can do the same on a Slackware PC without problems.

Is this problem related to containerization?
Hi, your container is probably unprivileged, it's that way by default since version 5.4

A possible example is here:

But better is to read the documentation and decide and configure for your personal case, perhaps a VM is better and easier, depends.

Also take a look into the admin documentation inside your installation.


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!