Showing posts with label lxc. Show all posts
Showing posts with label lxc. Show all posts

Tuesday, December 10, 2013

About migration of LXC containers from Ubuntu to Debian...

Hello everyone who reads me! Thank you for that!
I moved my virtual machines from my tablet pc with ubuntu to my brand new server with debian. I probably should mention that I use LXC for virtualization.
It isn't a real server of course. It is just an old pc which is sitting and whirring in the hallway of my flat near the router.
When I was moving my containers, I easily found out that you should tar and untar a container with --numeric-owner flag, because you just simply can’t move a system. But I’ve stuck into DHCP configuration.
Debian wiki have a suggests about bridge configuration for LXC.
But it is all about static ip configuration. And this guide doesn’t work with isc-dhcp-server on Debian testing (now it is Jessie on the 10th December 2013).

Tuesday, October 29, 2013

How to configure LXC with dnsmasq on Ubuntu 13.10

What LXC is

LXC is a mean of lightweight virtualization (operation system virtualization). You get an additional OS with the same kernel the host OS uses. It allows to avoid a lot of overheads related to software and hardware virtualization (e.g. VirtualBox).
LXC uses the control groups mean to bound and manage a guest OS (Thanks Google).
LXC also uses the apparmor to isolate a guest OS.
I’m not a guru of virtualization and system administration, more over, this article isn't about virtualization theory, so let's go further.