1
vote
1answer
31 views

LXC Is it possible to run a 12.04 container on 14.04

Other than the kernel only, is it possible to emulate an older install of Ubuntu? I looked in /usr/share/lxc/templates and it only has "lxc-ubuntu".
0
votes
0answers
25 views

logging into a LXC container

Trying to create LXC container to run 32bit Wine on my 64bit machine. I have done all as instructed. Then coming to the part, where to start the container: sudo lxc-start -n my32bitbox After a ...
0
votes
1answer
505 views

lxc trusty (ubuntu 14.04) network interface is not starting

My host environment is Ubuntu 12.04 LTS. I have created (as root) a container as follows: lxc-create -n bitshares2 -t ubuntu -- --release trusty I first start as a daemon lxc-start -n ...
0
votes
0answers
31 views

python3-lxc and lxc parallel installation not possible!

every time i try to install one of the package lxc and python3-lxc the other one is removed from my system. How i can fix this problem? I need both for a project. Thank You!
2
votes
0answers
65 views

net_cls and ns subsystems not available in 12.04?

I'm playing around with cgroups and I noticed when I try to list all available subsystems that the network ones are not available ? Running the following command should list ALL available subsystems - ...
1
vote
1answer
166 views

LXC PID namespace

I've been playing around a tad with LXC recently and one of the things I couldn't figure out is how are LXCs in Ubuntu implementing namespacing - in particular PID namespacing. I can't seem to find ...
1
vote
0answers
690 views

LXC on Precise with linux-image-generic-lts-raring … do I get the full namespace support?

Kernel 3.8 adds full namespace support, as far as I am aware. The package linux-image-generic-lts-raring ("Raring Ringtail kernel") offers this on Precise Pangolin installations (screenshot): Older ...
10
votes
6answers
5k views

How do I get the IP address of an LXC container?

I've written a few scripts to manage LXC containers, and I can get their IP addresses via ifconfig, assuming I'm connected to the console. I now want to connect to these containers via ssh. How do I ...
19
votes
1answer
4k views

Public IP Address for LXC container

Ok, so I want to know how to do networking on LXC containers. Not just the sort of vague information you get from the other websites, but a true beginner's guide to making them work.. Since most ...
1
vote
0answers
110 views

How to grant access to raw partition for lxc container

I'm using the Linux Containers as set by default in the package lxc. I'd like to give one of the container an exclusive access to one partition. Does anybody know, how to configure it? I'd like to ...
1
vote
1answer
300 views

Dual-use guest for LXC and KVM?

Would it be possible to install (and maintain by simple means, such as apt-get dist-upgrade) a "dual-use" setup? I.e. install an guest instance in a way which allows me to run it either as LXC or as ...
1
vote
0answers
75 views

What facets should I consider when deciding which guest to jail in (“full”) KVM and which in LXC?

Currently I am migrating to a new server. The old one ran 10.04 as host system and a few more 10.04 and Debian 6 as KVM guests. This was alright, because the processor had support for virtualization. ...
3
votes
2answers
1k views

Video driver under lxc container?

Since LXC (Linux Containers) is a kernel level super-chroot, I've been wondering what sort of video driver the containers have: My host is Ubuntu 12.04 64-bit machine with ATI gpu. Will the LXC ...
5
votes
1answer
2k views

Running X/Unity inside LXC container

I have already created a number of LXC containers in my 12.04 machine. I need to run GUI applications inside them (mostly Firefox). Is it correct to presume that it will work out of the box? If not, ...
3
votes
0answers
374 views

How to create dm-crypt device in LXC?

On one LXC container I need to put sensitive data, preferrably stored in dm-crypt encrypted filesystem. When I write sudo cryptsetup luksFormat --cipher aes-xts-plain --size 512 ...
1
vote
2answers
217 views

How to make the apt autocompletion work in minimal system (in LXC container)?

When I work inside thin LXC container on 12.04 I have only very basic system. In particular the /etc/bash_completion.d is missing the e.g. apt, that I find particularly useful. Is there any standard ...
1
vote
1answer
973 views

Where to re-build kernel from in http://kernel.ubuntu.com/~kernel-ppa/mainline/?

Because I experiment with btrfs in my 12.04 server, I use recent 3.6.3-030603-generic kernel found in the kernel-ppa/mainline - Kernel Ubuntu (intended for 12.10 Quantal). I also use the LXC, which ...
0
votes
1answer
435 views

Routing IP to LXC virtual machine

I use LXC on my Ubuntu server hosted in Hetzner. The server IP is 5.x.x.85 and the additional IP I bought is 5.x.x.93. The LXC VM is running on 10.0.3.2. How to route the additional IP (5.x.x.93) to ...