Skip to content

Palkovsky/decontenerize.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

decontenerize.sh

Proof of concept. Turn docker container into bootable disk image. Contains a lot of hardcoded stuff and has some dependecis.

What it does

  • Pulls rootfs out of docker contaienr
  • Creates a qcow2 disk image with one parititon spanning it.
  • Copies rootfs onto the partition.
  • Copies current kernel and installs grub.
  • Copies overlay onto the partition.

Overlay

It conatins minimalistic init binary, some config files and scriptable init hook (overlay/sbin/init.sh).

Demo

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages