rclone in an unprivileged container

Marc Ballat

Renowned Member
Dec 28, 2015
38
7
73
56
I cannot get rclone to mount a remote in an unprivileged container :
Proxmox 5.3.8
Debian stretch 9.6
rclone 1.43

Here is the error :
Code:
Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH

And I do have /dev/fuse on the host :
Code:
:~$ ls -l /dev/fuse
crw-rw-rw- 1 root root 10, 229 Jan 25 13:43 /dev/fuse
:~$

Is using fuse in a container and even more in a unpriviledged container still a problem (snapshot, mount) ?

Marc
 
Got it working as far as I can judge by adding this to the containers's config file :
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file
 
  • Like
Reactions: misku
Thanks, works great. One needs `fuse` to also be installed in the container (e.g. `apt install fuse`).