Skip to main content

Creating a docker image from a live ISO

 

Download Live ISO, example 

Example: debian ISO: debian-live-13.1.0-amd64-standard.iso

https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/

Make a directory to mount the ISO
sudo mkdir /mnt/iso
Mount the ISO to the /mnt/iso
sudo mount -o loop debian-live-13.1.0-amd64-standard.iso /mnt/iso
Extract the Root Filesystem using SquashFS
sudo unsquashfs -d .debian-fs /mnt/iso/live/filesystem.squashfs