6

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.

1 Answer 1

3

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

2
  • 1
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. And it would be a bonus if you include the steps to convert regular Virtualbox image to raw (as the question is about Virtualbox in general).
    – gertvdijk
    Jan 30, 2013 at 1:11
  • 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.
    – user108168
    Feb 1, 2013 at 0:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .