The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
36 views

loopback device in a Linux container?

I'm attempting to use a loopback device inside a container, to mount some image file: > sudo losetup /dev/loop0 test.img losetup: /dev/loop0: failed to set up loop device: No such file or ...
0
votes
0answers
24 views

Best practices for scaling and capacity planning : VM only ? VM+Container ? Container only ? Cluster ? Something else?

(I can't find a similar question which has been already answered but maybe I do not use the good words as I'm a french student ;)) The closest answer to what I'm looking for is : Scalable Web ...
0
votes
0answers
15 views

LXC containers on a OpenVZ VPS

I am trying to run LXC on a VPN that is hosted in OpenVZ, I have tried doing this with multiple image flavours, ubuntu. centos, debian... with no luck. LXC installs correctly but containers fail to ...
1
vote
1answer
21 views

How to control access to folders to a Windows VPN client session?

I have setup a Windows service role VPN all right. Next step is limit access of the VPN session user account. Some folders should be denied from client viewing (e.g.: system folders, program files, ...
4
votes
1answer
387 views

Do I need a CPU that supports Virtuallization to do Containerization?

I've read that Containerization is cheaper than virtualization; I know that containerization uses less resources than virtualization since there's only one OS involved and no virtualized hardware. ...
0
votes
0answers
41 views

Can not connect to OpenVPN server from LXC container

I can't seem to connect to an OpenVPN server from an LXC container. I have spent some time searching around and tried the suggestions many have posted but I still can't seem to get this working. I was ...
1
vote
1answer
11 views

How to prevent openvz container from adding another ip address?

How to prevent openvz container from adding another ip address ? I'm using VETH Container. I used this command to configure the network : vzctl set xxx --save --netif_add ethx,,,FE:FF:FF:FF:FF:FF
4
votes
1answer
103 views

Iptables LOG rule inside a network namespace

I'm trying to setup iptables rules for a docker container. I'm using nsenter to execute the iptables command inside of the container's network namespace: # log access to port 8080 PID=$(docker ...
2
votes
0answers
28 views

Ensure docker pulls most current image

Assuming I have registered a repo at Docker Hub, called MyRepo. Assuming I am working on a Docker image called MyImage. Assuming I have configured Docker Hub to build images from Dockerfiles ...
0
votes
1answer
86 views

linux container bridge port forwarding?

How to setup linux container bridge port forwarding? I start using LXD, and looks like their policy is to setup port-forwarding with OS base unlike docker. I want to build a web server, so 80 port ...
0
votes
0answers
17 views

how to setup Dokku Plugins on different droplets of digitalocean?

I have four 2gb digitalocean droplets.I want Droplet 1 : Django+nginx+gunicorn Droplet 2 : ElasticSearch Droplet 3 : PostgreSql Droplet 4 : Memcache I found that Dokku is good alternative for ...
0
votes
1answer
127 views

haproxy displaying incorrect version / 503 service unavailable

I am using docker with a few containers. One of my containers has haproxy and I wish to reverse proxy a domain to one of the other containers which is holding a web server. There are a few weird ...
0
votes
2answers
40 views

Why does an OpenVZ host show processes running in a container?

My OpenVZ (debian) host environment has only the minimal packages installed. Now I was irritated to see a mysqld process in top when the mysql package is installed and running only in one container. ...
0
votes
0answers
55 views

Update the container of a service in Amazon ECS

What kind of approach is recommended for updating the container of a service which is running in Amazon ECS? The AWS documentation says: "If you have updated the Docker image of your application, you ...
3
votes
2answers
263 views

LXC container shows host's full RAM amount and CPU count

I've been using LXC containers for a few years and have recently expanded the types of applications that run inside of container environments. I'm starting to limit resources at the container level ...
0
votes
0answers
17 views

Docker link persistence

Assume I have two containers, ConA and ConB, such that ConA is the source container and ConB is the target. Will the link from ConA to ConB survive if: ConA fails? ConA fails but gets automatically ...
1
vote
2answers
149 views

Is there any reason *not* to run HAProxy in a Docker container? [closed]

Will performance and/or stability suffer if I run HAProxy (or Nginx) in a container vs installing it directly on the host?
-1
votes
1answer
55 views

How do hosting providers give each container a unique public IP? [closed]

I'm looking in to starting my own hosting company; even if I'm only paid in experience. At first, I thought I'd create shell scripts to automate the creation of OpenVZ containers. But then I ...
2
votes
3answers
330 views

Nginx proxy to many container running on different CoreOS nodes

Surfing the net, I've found many tutorials about proxying to different Docker containers running on the same host, using Nginx/Confd (or Haproxy, or Vulcand). However, what I need to do it's ...
1
vote
1answer
377 views

Using host's iptables to prevent access to docker-container's exposed ports

I have a host which runs a few docker's containers. This host has a few network interfaces, my goal is make some exposed ports from containers accessible only by certain interfaces, and prevent ...
0
votes
1answer
24 views

openvz: limit resource usage of common services?

I am running Ubuntu 14.04 LTS inside a OpenVZ (Virtuozzo) container. There are basic services running (Apache, Postfix, Dovecot, MariaDB, OpenVPN, LDAP, memcached, php-fpm, nscd) and I am already ...
0
votes
0answers
129 views

Cannot start OpenVZ container

When I try to start container I got Starting container... Opening delta /var/lib/vz/private/100/root.hdd/root.hdd Adding delta dev=/dev/ploop15117 img=/var/lib/vz/private/100/root.hdd/root.hdd (rw) ...
1
vote
1answer
98 views

How to insulate apps from underlying OS changes using Docker

I'm not a docker user, just want to know if this is an accurate use case for docker. Current State We deploy custom Java apps on RHEL/VMware. To function properly, the apps depend on local Java ...
1
vote
1answer
168 views

Docker image build hangs at “pacman -S …”

I am trying to build a Docker image from the official Arch Linux image. These are the things I have done so far: I PULL-ed the official Arch Linux Image: docker pull base/archlinux I wrote this ...
1
vote
1answer
284 views

Running multiple ubuntu (or other distro) inside Docker containers on CoreOS, is this efficient?

From what I have read I believe CoreOS to be a bare-bones Linux distribution which essentially facilitates running Docker containers that contain any applications or services that you require. From ...
0
votes
0answers
87 views

Chaining two containers with docker

I have two containers that I have chained them together, so traffic that comes to container 2, first passes by container 1. I set container 2 --net=none. Host --- Container 1 --- Container 2 this is ...
1
vote
1answer
144 views

Is there a technology similar to Docker Containers for Windows Server?

Docker Containers (which is basically application isolation, afaik) look handy but they are only for Linux. Even "Docker Container for Windows" basically just installs a Linux VM into VirtualBox on ...
0
votes
3answers
881 views

Transparent proxying a single docker container to another docker container

I have a pair of docker containers running on the host machine, these containers together makes my application fulfill. So for each iteration/instance of my application requires a pair of docker ...
0
votes
1answer
16 views

Is it possible to set the backing FS directory of a specific LXC?

So they don't all go to the same folder (e.g. /var/lib/lxc)? This would let the user take advantage of other partitions/disks when the default one becomes full. lxc version: 1.0.6
4
votes
3answers
428 views

Publicly routable IPv6 linux container

My goal is to have a routable public IPv6 address for each of my docker containers. I want to be able to connect into and out of my containers using the IPv6 protocol. I'm using Linode and I've been ...
0
votes
0answers
77 views

Docker container for on-demand deployment of other Docker containers

I have read the "Getting Started" introduction on Docker's website, but I still have one question I could not find an answer to: Is it possible to set up a Docker container which can create other ...
1
vote
1answer
172 views

OpenVZ Container Restart [closed]

I'm wondering if there are any public scripts to automatically restart OpenVZ containers on certain load amount / high cpu. Trying to limit my containers on my personal machine, thanks.
2
votes
1answer
2k views

How to add a file to a docker container which has no root permissions?

I'm trying to add a file to a Docker image built from the official tomcat image. That image does not seem to have root rights, as I'm logged in as user tomcat if I run bash: docker run -it tomcat ...
1
vote
1answer
192 views

communication between containers in docker other than sockets/network

Is there any to way to communicate among docker containers other than via sockets/network? May be it can be IPC or some other means. Is it feasible? I have read docker documentation which says we ...
0
votes
2answers
848 views

Scaling out Dokku infrastructure

I just finished setting up a Dokku-based infrastructure, but i'm curious about how to scale it. I followed this tutorial by Digital Ocean, but there's not mention of HA or scalability. Is it ...
0
votes
1answer
147 views

Docker attach to curses process

I'm trying to use docker attach to attach to curses-based graphical process: $ docker run --name irssi -it pandrew/irssi irssi When you detach from this process using ^P^Q and reattach with docker ...
2
votes
0answers
77 views

LXC containers act differently on difrent servers [closed]

I have two physical servers A and B. I wanted to upgrade them from Ubuntu 12.04 to 14.04. Here is my current setup (if I'm left out any info here, let me know and I'll add it): Server A: Ubuntu ...
2
votes
1answer
773 views

Can a Docker container uses the full CPU power and memory of the host OS?

I am new to Docker, but I have experience of using VM and hypervisor. Referring to Docker introduction and this image, Docker containers are isolated but share the same host OS. If we deploy only 1 ...
9
votes
3answers
2k views

Proper way of handling LXC containers on btrfs

Lets say we have one server with lxc installed, and a lxc container used for as a base img /var/lib/lxc/ubuntu_base. For simplicity let's forget the config changes after copying the base img. some ...
0
votes
2answers
2k views

LXC Container Networking

I just started to experiment with LXC containers. I was able to create a container and start it up but I cannot get dhcp to assign the container an IP address. If I assign a static address the ...
34
votes
3answers
5k views

How to handle security updates within Docker containers?

When deploying applications onto servers, there is typically a separation between what the application bundles with itself and what it expects from the platform (operating system and installed ...
0
votes
0answers
315 views

Configure Nginx with multiple lxc containers, virtual hosts and subdomains

I want to use multiple (at least 3) lxc containers running Apache2 on port 80. I want to configure Nginx such that www.mydomain.com serves the content on the host machine while sub1.mydomain.com , ...
0
votes
3answers
1k views

Reverse Proxy Linux Containers

I am trying to set up a reverse proxy on my ubuntu 14.04 host so that I can run multiple websites, each in their own LXC container (one day docker but one step at a time). In this example the ...
0
votes
1answer
171 views

Taskset not working properly in OpenVZ container

In a Debian OpenVZ container, I'm trying to use taskset to pin a process to a core, but it doesn't work: root@foo:/# taskset -c -p 0 1754 pid 1754's current affinity list: 0-7 pid 1754's new affinity ...
0
votes
2answers
605 views

Force an LXC container to use its own IP address

Sorry if this question has already been asked. I could not find it, I have this setup : +---------------------------------------------------------------------------------------------+ |HOST ...
12
votes
2answers
6k views

Linux containers (LXC) on Red Hat/CentOS EL6 - lxc-create versus libvirt?

It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity... I've been a proponent of Linux Containers (LXC) for over a year. My initial installations were ...
1
vote
1answer
88 views

Accessing a container from another container using the public IP of the host

I've some issues configuring properly the network in proxmox. In short, from a container, I can reach any web server outside (ex: google.com), but I can't reach the web server on my container. The ...
0
votes
1answer
112 views

Linux Containers (LXC) : lx-execute and networking

I have a question about LXC Containers. I have some containers, if I lxc-start them, they come up with networking fine, but I want to just be able to run commands against them using lxc-execute, ...
0
votes
1answer
83 views

Read in effective RAM usage on Linux

I'm running some programs on *nix inside of a container and I'm attempting to closely calculate the amount of RAM my process is using. It is my understanding that this information should be under ...
0
votes
1answer
338 views

headless linux server for web serving tasks

I only need to run text-based applications on my server. think LAMP + ssh. It seems unnecessary to install entire distributions, like ubuntu, just to fire up apache and serve up my one web app. ...