Hello!
I want to access an ISO located in /var/lib/vz/template/iso/ from inside a LXC container running Debian 8.
However, I failed to run a loop mount command inside the container after mounting NFS share on host.
I found some statements that loop mount inside LXC is not recommended.
Then I found this thread here in the forum, but the command
pct set 106 --mp0 local:iso/siduction-15.1.0-paintitblack-gnome-amd64-01601162124.iso.iso,mp=/mnt/iso
fails with this error:
thomas@pc4-svp:~$ sudo pct set 106 --mp0 local:iso/siduction-15.1.0-paintitblack-gnome-amd64-201601162124.iso.iso,mp=/mnt/iso
storage 'local' does not allow content type 'rootdir' (Container)
Question:
How can I mount an ISO inside LXC?
THX
I want to access an ISO located in /var/lib/vz/template/iso/ from inside a LXC container running Debian 8.
However, I failed to run a loop mount command inside the container after mounting NFS share on host.
I found some statements that loop mount inside LXC is not recommended.
Then I found this thread here in the forum, but the command
pct set 106 --mp0 local:iso/siduction-15.1.0-paintitblack-gnome-amd64-01601162124.iso.iso,mp=/mnt/iso
fails with this error:
thomas@pc4-svp:~$ sudo pct set 106 --mp0 local:iso/siduction-15.1.0-paintitblack-gnome-amd64-201601162124.iso.iso,mp=/mnt/iso
storage 'local' does not allow content type 'rootdir' (Container)
Question:
How can I mount an ISO inside LXC?
THX