Tuesday, May 30, 2017

How to mount an ISO file in ubuntu?

Maybe, instead of installing additional software, you can use what the system has to this end:
  1. Create a directory to serve as the mount location:
    sudo mkdir /media/iso
  2. Mount the ISO in the target directory:
    sudo mount -o loop path/to/iso/file/YOUR_ISO_FILE.ISO /media/iso
  3. Unmount the ISO:
    sudo umount /media/iso

On your desktop will appear the mounted ISO.

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'