How to mount an ISO as a filesystem in a container?

carsten2

Renowned Member
Mar 25, 2017
282
35
68
56
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?
 
You need to use a loop device from within the container. See here for example.
 
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.