Questions concerning container in Digital container format, programming, type theory, Operating system-level virtualization, Web container, etc.

learn more… | top users | synonyms

0
votes
1answer
33 views

lxc launch hangs for lxd

New to lxd, and follow the article https://insights.ubuntu.com/2015/04/28/getting-started-with-lxd-the-container-lightervisor/ , also refer the https://github.com/lxc/lxd for upgrading to latest lxd ...
1
vote
1answer
94 views

Why kernel version doesn't match Ubuntu version in a Docker container?

I have a Docker container built from Ubuntu 14.10. When I log in to the container to check the Ubuntu version and kernel version I see the following: root@~$>> lsb_release -a No LSB modules are ...
0
votes
0answers
21 views

lxc-ls option flag error - lxc_container: command get_init_pid failed to receive response

I'm trying to use the lxc-ls command to list LXC containers on Ubuntu 12.04, but I'm getting a get_init_pid error whenever I invoke the command with an option flag. Here is an example session: $ sudo ...
0
votes
1answer
83 views

lxc-create: bad template: download

I'm running Ubuntu 12.04. According to the Ubuntu Server Guide, there should be a -t download template option for the lxc-create command. However I get the following output: sudo lxc-create -t ...
0
votes
0answers
158 views

Installing a GUI application in LXD/Docker with a GUI installer

I have an old proprietary software which I need to run on newer distro. I hope containers are the solution. The problem is that the old software installs itself from a GUI application which require ...
1
vote
0answers
50 views

Container namespace isn't visible in ip netns list

I wonder why we can't see the namespaces created by lxc-create on the output of "ip netns list" For example I create a namespace like below lxc-create -t download -n cont1 -- -d ubuntu -r trusty -a ...
0
votes
0answers
27 views

How could I set a file overlay on my whole system?

I need to build and test system components on my Ubuntu laptop and I want to be sure that it won't damage (or replace any my current components) (I plan to build and test gtk, gstreamer and ...
0
votes
0answers
45 views

Is it possible to use both libvirt and lxc userspace tools?

Libvirt is pretty easy to use and has the bonus of having cross compatibility with other hypervisors. I was curious, is it possible to create a container and manage it with both virsh and lxc-* ...
1
vote
1answer
306 views

LXC start error : setup_caps: 2337 unknown capability mac_admin

When i try to start the lxc container created it fails with below error, I have used the Ubuntu template for this template. It seems lxc is unable to drop the kernel privileges it is trying to drop, ...
4
votes
1answer
233 views

How to modify rootfs of an unprivileged LXC container?

I have configured for namespaces for unprivileged LXC containers using this docuement https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-unpriv I can create and start containers using lxc-create ...
1
vote
0answers
2k views

LXC container no outgoing traffic with bridged network and public IP address

I try to setup a LXC container with bridged network on ubuntu 14.04.1, but the outgoing traffic seems to be blocked. Ping another IP than the container's one is not working. Actually I tried this with ...
1
vote
1answer
296 views

Lo interface not coming up on boot (upgrade fom 12LTS to 14LTS, work in container mode)

I am using the Linux container , I upgraded from 12LTS to 14LTS recently, however after upgrade, the lo interface cannot be start automatically, and here is "ip link show" 1: lo: <LOOPBACK> ...
5
votes
1answer
742 views

Modifying sysctl values inside lxc container

I have made several linux containers using the normal userspace tools (not docker), and I have been setting up a test environment. I want to set up two containers to try out heartbeat, which requires ...
8
votes
1answer
6k views

How does kernel support swap limit?

When i run docker info command on my ubuntu 13.04 with kernel 3.8.0-19-generic i got a warning no swap limit support How can i solve this? docker info Containers: 10 Images: 37 Driver: aufs ...
0
votes
1answer
268 views

docker commands related problem

I tried: :~$docker -d [/var/lib/docker|99d07396] +job initapi() [/var/lib/docker|99d07396.initapi()] Creating server mkdir /var/lib/docker/containers: permission denied[/var/lib/docker|99d07396] ...
5
votes
1answer
2k views

lxc containers hangs after upgrade to 13.10

I have 3 lxc containers. They were all working fine on 12.10 and I upgraded the containers with do-release-upgrade on the containers to 13.04 and 13.10 and that worked great. Then I upgraded the ...
1
vote
1answer
180 views

LXC: Can I guarantee a certain level of CPU resources to a given container

We're going to use LXC to multi-purpose our hardware while keeping the various applications easy to manage, develop, upgrade, and logically segregated. What I want to know is if I can guarantee ...
0
votes
1answer
694 views

block outgoing internet calls from inside a container

This question is not similar to my earlier post. This is pretty simple I think, I just don't know enough about networking and the ubuntu firewall. I followed this article and setup a linux container ...
2
votes
1answer
2k views

debootstrap or virt-install Ubuntu Server Maverick fails

Oki so running any kind of variation of debootsrap i get the following error I: Extracting zlib1g... W: Failure trying to run: chroot /lxc/iso/dodo mount -t proc proc /proc debootstrap.log : ...
4
votes
2answers
690 views

How can I fully use the chroot I create with debootstrap on a local machine?

I'm running on a Ubuntu 10.04, and installed an 8.04 version in a directory /stuff/hardy sudo debootstrap --variant buildd --arch i386 hardy /stuff/hardy http://archive.ubuntu.com/ubuntu What I want ...