NetApp / netappdvp

A Docker volume plugin for NetApp storage
96 stars 33 forks source link

Permission denied to mount fs with docker usernamespace #110

Closed tbouvet closed 6 years ago

tbouvet commented 6 years ago

My docker engine is configured with usernamespace.

"userns-remap": "dockremap"

I try to mount a netapp volume but an error occurred :

docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/var/lib/docker/100000.100000/plugins/4ce13dd16de418316548a799f3857fa6986217829b6e015afa388cd2b288a46d/rootfs/var/lib/docker-volumes/netapp/secondVolume\\\" to rootfs \\\"/var/lib/docker/100000.100000/overlay2/953c331d0b1b8bff4981da209c8385071e33274abca12689abfe64c3e19c6dc4/merged\\\" at \\\"/my_vol\\\" caused \\\"stat /var/lib/docker/100000.100000/plugins/4ce13dd16de418316548a799f3857fa6986217829b6e015afa388cd2b288a46d/rootfs/var/lib/docker-volumes/netapp/secondVolume: permission denied\\\"\"".

To reproduce :

The result is the error.

adkerr commented 6 years ago

Moved to netapp/trident#86