1
vote
0answers
17 views

LXC networking not giving outgoing connection

I have a LX container on Ubuntu 13.04 which has worked flawless for the last 161 days. I restarted the host and started all the LXC's and I'm allowed to connect to the LXC containers from the outside. ...
0
votes
1answer
35 views

LXC not respecting netmask on Ubuntu 14

I have a LXC machine configured with bridging so that it has its own public IP address and is accessible over the internet. Even though it's working, the netmask address set in the VMs ...
0
votes
0answers
50 views

lxc-start: filesystem could not be mounted: /run

I have installed lxc in ubuntu server, every thing was working fine. Today I have updated lxc from version 0.7.5 to version 1.0.0.alpha2. After I update lxc, I am unable to start lxc containers. ...
0
votes
0answers
56 views

mount lxc containers in different partition

I have created two containers(say TestOneContainer and TestTwoContainer) in ubuntu server using LXC. Now the lxc filesystem is in /home folder and two containers also use /home folder. I have created ...
0
votes
0answers
78 views

Static Routes for LXC Container

I have set up an LXC Container to have an IP Address from the same Subnet as the Host (i.e. a Bridge Setup) on Ubuntu 12.04LTS. The Host/LXC does not assign any adresses, this is done inside the ...
3
votes
1answer
296 views

LXC networking with public IP

I have installed LXC in ubuntu server 12.04 using this link. It was installed successfully and i am able login using ubutu/ubuntu as username and password. Then I tried to setup network for LXC ...
0
votes
1answer
288 views

LXC container can only access host via bridge

I have an LXC container with i686 Ubuntu 12.04 running on a x86_64 Ubuntu 12.04 host. I've set up a bridge using instructions here. However the ping from the container only goes through to the host ...
2
votes
1answer
644 views

Why use lxc instead of chroot?

One ubuntu server hosts 3 apps all on separate domains. Each app has its own developers. App developers belong to linux "sftp" group. chroot allows password sftp access for each app developer. ...
0
votes
0answers
579 views

lxc container doesn't start because - lxc_conf - failed to setup the console

I use ubuntu 12.04 server with all updates I was restarted lxc container by a command in shell: "reboot" lxc version is: 1.0.0~alpha1.0+master~20130930-1830-0ubuntu1~ppa1~precise1 #uname -a Linux ...
0
votes
2answers
1k views

Can Docker help me install Oracle 11g database on Ubuntu?

We are struggling with a common problem of trying to provide an Oracle 11g instance for our developers to test with. Our standard build agents are based on Ubuntu 12.04 but Oracle supports only RedHat ...
2
votes
0answers
302 views

Networking with lxc containers with local dhcp and external ipv6 double bridge problems

I want to use both ipv6 externally on all my containers, and ipv4 external only on the hosts. I am using Ubuntu 12.04 64bit. For ipv4 on the container I use the DHCP that came with the lxc ...
5
votes
3answers
678 views

Why are applications in a memory-limited LXC container writing large files to disk being killed by the OOM?

EDIT2: This problem appears to exist as well under 3.8.0-25-generic #37-Ubuntu SMP EDIT: I modified the question from the original title of "Why would the Linux Out of Memory manager be triggered by ...
1
vote
1answer
197 views

Cannot start XML defined Linux Container, faulty cgroup mount

Using ubuntu 13.04 latest; i've installed lxc and various other tools Here's my XML definition: <domain type='lxc'> <name>vm1</name> <memory>500000</memory> ...
1
vote
0answers
355 views

Mounting a network file system inside LXC on Ubuntu 12.10

On an Ubuntu 12.10 server, I created an Ubuntu cloud lxc container. In the /var/lib/lxc/MY_CONTAINER/config file, I uncommented the line: lxc.aa_profile = unconfined and started the container. ...
0
votes
1answer
356 views

Different behavior of ubuntu-cloud image between LXC and libvirt-lxc

I've used ubuntu-cloud template as LXC containers, and they all worked fine. Recently I switched to use libvirt-lxc, and followed instructions in Ubuntu document, but the image initialized differently ...
1
vote
0answers
376 views

Set up LXC container as VM with its own IP address

I need to set up a fenced environment in on Ubuntu server. The actual use case is to have two separate websites running on the same physical box, but I want one of those websites running in a fenced ...
3
votes
1answer
199 views

Link all LXC node APT caches to the host machine's APT cache

I have a number of LXC containers (ubuntu template) which all have their own separate APT caches. /var/lib/lxc/*/rootfs/var/cache/apt/archives/ I would like to have these linked to the host ...
1
vote
1answer
830 views

“mount error(13): Permission denied” only in LXC container for CIFS/Samba share

I have a samba share that mounts just fine under the Ubuntu 12.04 host: root:~# mount -t cifs -o credentials=/var/lib/lxc/vpn/rootfs/etc/samba/desktop.credentials //desktop/Media /media/Media But ...
14
votes
3answers
8k views

How to disconnect from lxc-console

I'm working with lxc in Ubuntu 12.04, and it's really great. However, I am unable to disconnect from a lxc-console session after I've connected. I read somewhere that Ctrl-aq will disconnect me from ...
5
votes
2answers
4k views

Running linux containers (lxc) on ubuntu to isolate web server processes (ruby/thin)

I am trying to setup a server where I would be running multiple apps. Mostly internal but could also be open source projects like Redmine. They would all be Rails/Ruby apps/test scripts running on ...