Unable to run docker image created from ISO

后端 未结 2 1086
北恋
北恋 2021-01-14 14:25

Here i am trying to create docker image from ubuntu 14.04 ISO file, knowing ubuntu 14.04 is already available in docker hub. Because later i have to create docker images for

相关标签:
2条回答
  • 2021-01-14 15:06

    You're building an image from ubuntu's iso but what you really want is building an image from an ubuntu install.

    What you have to do is :

    • install ubuntu from the iso inside a VM

    • make an archive or the VM's /

    • import with docker

    I hope that helps

    0 讨论(0)
  • 2021-01-14 15:12

    Use debootstrap to install a base image (you may include and exclude packages) into a directory that is chrootable.

    You can use that directory to create the base image.

    0 讨论(0)
提交回复
热议问题