What I am trying to do is mount an ISO file as a loop device on /media/iso
as mountpoint.
For this, first I tried the shorter/simpler command I was familiar with
i.e.:
$ sudo mount -o loop /tmp/test.iso /media/iso
which failed with the error "failed: Invalid argument"
Then I followed the procedure mentioned here:
https://sick.codes/how-to-mount-devices-inside-docker-containers-losetup-loopback-iso-files/
i.e.
$ sudo losetup -f
$ sudo losetup /dev/loop /tmp/test.iso
$ sudo /dev/loop0 /media/iso
but again, get the same error "failed: Invalid argument".
What could be the issue here ?