Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [container]

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

0
votes
1answer
287 views

routing between LXC containers in deferent subnets

I have 2 containers in deferent subnets, one 10.1.1.1/24 and 10.1.2.1/24. I want to connect them together, how can i do it ?
74
votes
1answer
35k views

what's the main difference between Docker and Snap?

In recent c't (sadly paywalled) there is an article about Snap and Flatpak. This sounds very similar to Docker, lots of concepts are the same. Now my question what's the difference between Snap and ...
2
votes
1answer
230 views

Unable to install kubernetes

I recently downloaded the kubernetes.tar.gz (version 1.3.3) from their release Page and tried to install kubernetes. But I failed to find the kubernetes/cluster/ubuntu/build.sh file after extracting ...
1
vote
0answers
281 views

Why doesn't a systemd-nspawn server restart after reboot or crash?

I have an otherwise working systemd-nspawn managed container (minimal Ubuntu 16.04 from debootstrap) but I cannot make it restart when crashed/rebooted. The unit file is # cat /etc/systemd/nspawn/...
0
votes
1answer
129 views

Problem creating lxc container on BQ M10

I attempted to create an lxc container on my BQ Aquarius M10 as follows: libertine-container-manager create -t lxc -d vivid -i lxc After being asked for and entering my password the following was ...
3
votes
2answers
177 views

How are snap applications being protected?

How are snap applications being protected when we look at different aspects? Runtime protections? Memory protections? Differences to ordinary processes? Differences to VMs? Storage protections? ...
2
votes
1answer
486 views

Start a Xenial lxc container on a Trusty machine

I'm having trouble starting a xenial lxc container on my trusty machine. I had no problems installing the container (by following this guide, which also allowed me to create and start some other ...
1
vote
0answers
1k views

LXD container disk and block I/O limits. EDIT: Its a zfs pool limit

There is a container running on my system and it is is giving me the (28: No space left on device) error message. I tried to troubleshoot the problem and I see why it probably is complaining: bas@...
0
votes
1answer
2k views

How to mount encfs in a LXC container

When trying to mount, I have the following error: container# encfs /toto /mnt EncFS Password: fuse: device not found, try 'modprobe fuse' first fuse failed. Common problems: - fuse kernel module ...
1
vote
0answers
150 views

Can someone with root access enter in a LXD container and see its contents?

If I have a running LXD container, can someone enter into the mount point and see/access contents of it? I'm seeking for a method for virtualization that prevents this, KVM could be a good choice, ...
6
votes
3answers
2k views

Is it possible to install rkt in Ubuntu?

Is it possible to install rkt (app container engine for Linux, in some ways similar to Docker) in Ubuntu? How? I just want to try it out on Ubuntu itself, without setting up a virtual machine running ...
0
votes
1answer
705 views

LXC unprivileged container: apt-get fails to download anything inside

I'm running Ubuntu Xenial and set up simple unprivileged user container from template (also Xenial). When I attach inside and try to just do upgrade or install anything 'apt-get' fails with following ...
2
votes
2answers
830 views

Landscape Dedicated Server 15.11: Virtual Machines registering as computers

After upgrading LDS from 15.01 to 15.11, my virtual-machine licensed KVM instances are showing up as registered computers instead of virtual machines. When I try to re-register the machine it also ...
3
votes
1answer
398 views

Disk usage for the same drive shows 20K in the host and 16G in the container

When comparing the disk usage for a mounted harddrive the usage is completely different when compared between the host and the container. I am running Ubuntu 14.04 on the host and in the lxc container....
4
votes
3answers
2k views

Where can I find good quality LXD Documentation [closed]

While researching and learning more on Containers Docker seems to have great documentation and use case examples with step by step guides. While on the other hand LXD has just a simple getting started ...
0
votes
1answer
631 views

What images can you store in lxd containers?

What kinds of images can you store in LXD containers ?
0
votes
1answer
2k views

Do LXC containers have access to PCI components such as PCIe SSDs and GPUs?

Do LXC containers have access to PCI components such as PCIe SSDs and GPUs? Would the drivers need to be installed on the host, guest or both? Do they support exclusive usage by using PCI ...
1
vote
0answers
758 views

Unable to export MP4 video in Pitivi

Whenever I attempt to export an MP4 video in Pitivi, I notice an exclamation mark next to the container selection, and when I render it nothing happens. How can I fix this?
0
votes
1answer
635 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 ...
10
votes
1answer
6k 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 ...
4
votes
2answers
3k 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 ...
1
vote
1answer
2k 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
1answer
592 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 ...
1
vote
1answer
1k 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
1k 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
8k 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 ...
875
votes
15answers
1.8m views

How to get bash or ssh into a running container in background mode?

I want to ssh or bash into a running docker container. Please, see example: $ sudo docker run -d webserver webserver is clean image from ubuntu:14.04 $ sudo docker ps CONTAINER ID IMAGE ...
1
vote
1answer
758 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
2answers
3k 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 ...
17
votes
1answer
16k 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 ...
1
vote
1answer
385 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
3k 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
447 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 ...
3
votes
1answer
2k 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 : mount:...
6
votes
2answers
878 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 ...