How do I migrate a Virtualbox image to an LXC container?

12,521

For those who might be wondering:

The following article covers booting a raw image as a container. Perfect for my situation as we use raw images with virtualbox.

https://www.stgraber.org/2012/03/04/booting-an-ubuntu-12-04-virtual-machine-in-an-lxc-container/

Charlie101

Share:
12,521

Related videos on Youtube

user108168
Author by

user108168

Updated on September 18, 2022

Comments

  • user108168
    user108168 over 1 year

    Is there a way to migrate a Virtualbox image to a LXC containter environment?

    I can easly extract a tar of the Virtualbox VM's file system. I'm kind of hoping there's a way to create an 'empty' container and then untar the virtualbox VM's file system into it.

    I am completely new to LXC but if anyone can lay out the steps I'll lookup any details.

    Any help on this is appreciated.

  • user108168
    user108168 about 11 years
    I only use raw images with Virtualbox because it makes it easier to mount, extract tars, or copy directly onto other devices like disk partitions and usb sticks. I didn't put this in my question because I didn't want to like relivant answers.