Questions tagged [linux-containers]

Linux containers (LXC) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host.

Linux containers (LXC) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host.

https://linuxcontainers.org/

224 questions
19
votes
2 answers

Linux Container vs JVM

What's the big difference between a container running on top of docker and a self contained Java program running on top of the JVM? I assume both are running directly on a physical linux server without underlying visualization.
Taiko
  • 1,351
  • 1
  • 19
  • 35
17
votes
1 answer

Docker MAC Address Generation

I had a question about applications running within Docker containers and UUID generation. Here’s our scenario: Currently our applications are using an event driven framework. For the events we generate the UUID’s based on mac address,…
Blanco
  • 185
  • 2
  • 8
16
votes
5 answers

How to get ssh connection with docker container on OSX(boot2docker)

I use docker on OSX with boot2docker. I want to get an Ssh connection from my terminal into a running container. But I can't do this :( I think it's because Docker is running in a virtual machine.
Valikos Ost
  • 355
  • 1
  • 2
  • 10
15
votes
2 answers

libcontainer vs Docker vs OCF vs runc?

I'm trying to understand the Docker world a little better, and can't quite seem to wrap my brain around the differences between these. I believe that OCF is an emerging container standard being endorsed by OpenContainers, and I believe that Docker…
smeeb
  • 27,777
  • 57
  • 250
  • 447
15
votes
2 answers

How to optimize performance for a docker container?

I tested redis container based on. https://index.docker.io/u/dockerfile/redis/ With same redis-benchmark, redis-server runs inside a container much slower, than run on hosted OS, the actual statistics shown below. ( The first benchmark is for a…
kerwin
  • 941
  • 2
  • 12
  • 22
13
votes
2 answers

Announcing your app from within a container (docker)

I asked this question at docker's IRC over the weekend but had to head off before I'd thought through the answers: If I have a number of applications running in containers (let's, for the moment, assume they're all running on the same physical…
JP.
  • 5,507
  • 15
  • 59
  • 100
12
votes
2 answers

What benefits does Docker Compose have over Docker Swarm and Docker Stack?

From what I read it seems that Docker-Compose is a tool to create multiple containers on a single host while Docker Swarm is a tool that can do the exact same thing but with more control and on multiple hosts with the help of Docker Stack. I went…
Kyle Truong
  • 2,545
  • 8
  • 34
  • 50
12
votes
5 answers

Automatically Start Services in Docker Container

I'm doing some initial tests with docker. At moment i have my images and I can put some containers running, with: docker ps I do docker attach container_id and start apache2 service. Then from the main console I commit the container to the…
Pedro
  • 2,907
  • 6
  • 34
  • 46
12
votes
4 answers

Docker container - how to configure so it gets a viable IP address when running in vagrant?

Docker (www.docker.io) looks terrific. However, after installing VirtualBox, Vagrant ... and finally Docker on a Mac, I'm finding it's not possible to access the service running in the Docker container from another computer (or from a terminal…
Joe
  • 208
  • 1
  • 2
  • 7
11
votes
2 answers

Using Docker for windows to volume-mount a windows drive into a Linux container

I'm using Docker Desktop for Windows and I want to find where the volumes are created by Docker, in a Linux container? Has anyone been able to perform the volume mounting that I am trying to achieve?
11
votes
6 answers

How to Best Run Hadoop on Single Machine?

I have access to a computer running Linux with 20 cores, 92 GB of RAM, and 100 GB of storage on an HDD. I would like to use Hadoop for a task involving a large amount of data (over 1M words, over 1B word combinations). Would pseudo-distributed mode…
11
votes
2 answers

How to configure a Docker container to be reachable by container_ip:port from outside the host machine?

I have a host machine with multiple IP addresses assigned to one network interface. I'd like to configure Docker in order to have containers "responding" each one to a single IP of these IP addresses assigned to the host machine. Can this be done…
Manuel Durando
  • 1,493
  • 3
  • 19
  • 30
10
votes
1 answer

Linux Namespaces: Is it possible for a network namespace to exist without being associated with a process?

The ip netns creates the reference to the (named) network namespace in /var/run/ns, which could be easily tracked. Also, the same could be determined through /proc/[pid]/ns/net. However, it is possible for some custom program to create a net ns and…
user31986
  • 1,558
  • 1
  • 14
  • 29
10
votes
2 answers

Installing chef-server in a docker container

I have been trying to install Chef-Server in a Docker container and I am having some trouble. I am running a VM with an up to date version of Ubuntu 12.04 and latest install of Docker. I run a base Docker Ubuntu 12.04 container and install…
Greg
  • 382
  • 1
  • 5
  • 14
10
votes
4 answers

Docker and connections between containers

I'm trying create connections between docker's containers. One container with php5-fpm and second with nginx. Config for php5-fpm default, just few changes: listen = 9000 listen.allowed_clients = and nginx…
kbu
  • 389
  • 2
  • 4
  • 19
1
2
3
14 15