C carsten2 Renowned Member Mar 25, 2017 282 35 68 56 Jul 8, 2020 #1 In a VM I can mount ISO images into the filesystem, but in a container I cannot execute "mount -o file.iso /mnt". How mount an iso as a filesystem into a container?
In a VM I can mount ISO images into the filesystem, but in a container I cannot execute "mount -o file.iso /mnt". How mount an iso as a filesystem into a container?
Stefan_R Proxmox Retired Staff Retired Staff Jun 4, 2019 1,300 308 88 Vienna Jul 8, 2020 #2 You need to use a loop device from within the container. See here for example.
C carsten2 Renowned Member Mar 25, 2017 282 35 68 56 Jul 8, 2020 #3 Error message is mount: /mnt: mount failed: Operation not permitted
Stefan_R Proxmox Retired Staff Retired Staff Jun 4, 2019 1,300 308 88 Vienna Jul 8, 2020 #4 You either have to do this from the host (and mount it into the relative container path) or use a privileged container. See this thread for more.
You either have to do this from the host (and mount it into the relative container path) or use a privileged container. See this thread for more.