Docker is an open source project that automates the deployment of applications inside software containers.

learn more… | top users | synonyms

1
vote
0answers
16 views

why port forwarding is not working in this setup?

I'm trying to setup a docker virtualization environment. This is a follow up of this question. I have a virtual eth0:0 interface, and I would like to forward it using iptables. I've a server where ...
1
vote
0answers
14 views

Docker-based infrastructure testing tool

I am currently trying to migrate a VM-based infrastructure to a Docker-based one and take the chance to add behavior testing to this infrastructure. So I aim to have all changes I make to the base ...
1
vote
1answer
47 views

Forward one IP to a docker container

As far as I understood, docker run containers with their own IPs, and fully open ports, on the bridge interface docker0. Let's say I launch a container, and it has its own IP: 172.17.0.11, and I have ...
0
votes
1answer
36 views

How do I inform HAProxy that my server is back up?

I'm a bit of a HAProxy newbie - I've got 3 docker containers, one running HAProxy with the following config: global log ...
5
votes
2answers
35 views

How do I set up docker containers to communicate on private network?

I have a small cluster at rackspace with a private network in the range 192.168.3.0/24. I would like my worker services to talk to each other using this network but can't figure out how to get docker ...
-1
votes
0answers
23 views

Docker on osx - How would it help me? [closed]

I hear a lot about docker for a few months (who doesn't right?), and eventhough I understand how docker is interesting for a Linux user I don't understand how it could be helpfull for a mac user. ...
2
votes
0answers
29 views

UDP Traffic from outside to docker container is dropped after container restart

following situation: i have a hardware box with Ubuntu 14.04LTS as host for docker 1.4 I'm running an ELK stack in several containers. Curenntly the logstash container is exposing only port 514 to ...
0
votes
0answers
19 views

Docker containers connecting to a host daemon

I would like to run a daemon on the host and get the containers connect to it. I was thinking I will bind the daemon on the host to 127.0.0.1 and then have something (delegate? or is iptables enough?) ...
-2
votes
0answers
18 views

Setting up test environment with old computer tower to match current sever perfect. Centos Need quick guidance [closed]

We have a Centos 6 server running our website through a dedicated host. It has Apache, PHP, WHM and MySQL configured as well as various packages. I would like to basically clone that setup and use it ...
0
votes
1answer
75 views

Apache on Docker can't write to volume filesystem

I built an image for running Apache with mod_php, for Magento extension development. Magento needs to write to the webroot: It keeps files in /srv/magento/var/ for cache, error reporting, and some ...
0
votes
1answer
30 views

Understanding OOM killer logs

I run some processes inside docker container and I use memory limitation for this container. Sometimes some processes inside docker container got killed by OOM killer. I see that in syslog file: ...
0
votes
0answers
46 views

How to make docker use aufs in CentOS 7?

Where's the location to docker configuration file? I've tried modifying /etc/sysconfig/docker with options: DOCKER_OPTS="-s aufs --fixed-cidr=10.1.1.0/26 --bip=10.1.1.62" docker info shows ...
0
votes
0answers
28 views

Mount proc filesystem in a docker container [migrated]

i want to install gitlab vcs in a docker container with ubuntu base image on it. But when i run gitlab-ctl recofigure, it can't write to a file on proc fs. How to mount or run docker to provide rw ...
1
vote
1answer
46 views

Dockerfiles organization

Plenty of blog posts are available on the Internet and show how to write/optimize/use a Dockerfile but I didn't find very much about how to organize them. My use case doesn't look exotic however: I ...
-1
votes
0answers
55 views

Matter of managing passwords for a systemctl services

Goal: I want to pass on a password to a systemctl service initially to ensure that this given service is started up correctly after target boot or manual restart, without password. The below solution ...
0
votes
0answers
28 views

Dockerun.aws.json referring to bucket of another account

I have the following Dockerrun.aws.json: { "AWSEBDockerrunVersion": "1", "Authentication": { "Bucket": "bucket-of-another-aws-account", "Key": "docker/.dockercfg" }, ...
1
vote
1answer
48 views

Security implications of setting UFW default_forward_policy to accept?

The docker manual (http://docs.docker.com/installation/ubuntulinux/#docker-and-ufw) states that it's nescessary to set UFWs DEFAULT_FORWARD_POLICY to "ACCEPT" so docker containers can reach each ...
0
votes
1answer
40 views

Docker run not appending arguments to image entrypoint

I have a Dockerfile with: ENTRYPOINT ["uwsgi", "--ini /home/docker/app/uwsgi_app.ini"] (no CMD) When I run that uwsgi rightly complains: uWSGI running as root, you can use --uid/--gid/--chroot ...
1
vote
2answers
38 views

Only start a Docker container after process in other container is operational

I'm trying to deploy 3 Docker containers, having a dependency relation amongst them (A -> B -> C). Now, each container is supposed to run an Akka-Spray instance, on top of a JVM instance. The ...
0
votes
2answers
24 views

Automatically stop Tomcat if Root context initialization fails

I can't seem to figure out if it's possible to setup Tomcat to stop when the ROOT context initialization fails. Since my Tomcat instance only hosts one application as the ROOT context, it makes no ...
1
vote
1answer
149 views

Share disks through NFS on a CoreOS cluster?

Is it possible for a CoreOS cluster to share disk space, e.g. using NFS? If so, how would one go about this? (e.g. in the scenario where one node has a lot of disk space). This would be useful to ...
-1
votes
3answers
83 views

Oops in syslog and freeze the server with docker

I've got following exceptions after my server freezes and reboot for 2 times I cannot tell the relevant with docker, but it happends every time I started some containers and I cannot find any useful ...
3
votes
3answers
113 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
2answers
77 views

Dockerfile separation of concerns for a secure apache httpd server with respect to SSL certification files

Issue: In a non-docker solution, the SSL certificates can be located in /etc/pki/CA/.... and with references to these in /etc/httpd/conf.d/*.conf files. How must these SSL certificates be ...
0
votes
0answers
96 views

Nginx php-fpm in docker - Getting 404s

I'm trying to launch to containers an nginx container and a php-fpm container. php-fpm container exposes port 9000 and the nginx container exposes port 80. I updated the conf file to point the Once ...
0
votes
2answers
95 views

How to handle Docker memory management?

Update: Rather than spinning up my resque worker through the docker command (to test), I instead killed all my containers with fig kill, added it to the fig configuration, and ran fig up. This worked ...
1
vote
0answers
77 views

Lighttpd and Discourse (Docker): configuring mod_proxy

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
1
vote
1answer
49 views

backup postgresql via docker exec

How would you go about taking automatic rotated backups of a postgresql database running inside a docker 1.3 container? I'm mostly interested in the overall approach vs. the details of actual the ...
-1
votes
1answer
38 views

Docker needs to install software that uses a wizard [closed]

Fairly new to Docker but I got it all setup pretty nicely. I due still have a question about some software I need to install. This software has an installer where the user needs to provide input to ...
0
votes
0answers
30 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 ...
0
votes
1answer
51 views

Docker: Django and Postgresql: What is better two separate containers or one?

I plan to deploy my django app in docker. This application uses Postgresql as backend, so I've faced a question, what is better deployment scheme: two docker containers - one for app and one for DB, ...
2
votes
2answers
1k views

Docker containers can't resolve DNS on Ubuntu 14.04 Desktop Host

I'm running into a problem with my Docker containers on Ubuntu 14.04 LTS. Docker worked fine for two days, and then suddenly I lost all network connectivity inside my containers. The error output ...
-1
votes
1answer
96 views

How is Docker being used in VPS hosting? [closed]

I'm curious how Docker is being used to host VPS 's ? e.g. I get that it's very fast to boot, but I've heard that security of Docker is not enough to keep people out of the main system... How are ...
0
votes
0answers
55 views

TCP ignores some packets for no reason

I have a weird problem which I can't understand. The actual network configuration is quite complex, because I am using Openstack and Docker to build a virtual network. However, the problem is not ...
0
votes
0answers
188 views

Wordpress behind nginx reverse proxy doesnt work in https

I'm trying to run wordpress on a docker based cloud. The setup is: There is a server running a mysql array, which serves a container with Wordpress Running on Nginx. The setup is copied from this ...
0
votes
1answer
128 views

MariaDB 10.0 / Docker / Vagrant - Sub-process /usr/bin/dpkg returned an error code

MariaDB 10.0 does not install properly when using Vagrant, Docker and other virtualised services. $ DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-galera-server Setting up ...
1
vote
2answers
117 views

How to utilize UFW blocking published ports from docker

Might seem a silly question but i'm trying to get the following to work: I have a correctly configured UFW for only allowing certain source IPs access to my local service after migrating this ...
0
votes
2answers
207 views

Docker and nginx upstream zero downtime [duplicate]

I'm Having some wierd issues trying to automate the deployment of docker containers using nginx's upstream directive. For some reason when I manually do the following it works but when I try to ...
0
votes
2answers
91 views

docker containers in a CI pipeline process

I am trying to integrate docker containers in my simple CI pipeline for deploying a webapp. I have 3 containers with nginx, tomcat and mysql. I understood the basics of how to create these ...
0
votes
1answer
141 views

Issues with Ansible's default/error handling in a playbook

I'm having some issues with Ansible and the way it defaults to values. What I'm trying to accomplish is to bind a Docker container to on eth1, if it exists, otherwise use lo. My initial approach was ...
1
vote
1answer
274 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
90 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
1answer
231 views

Why do some host volumes in Docker containers give the error “too many levels of symbolic links”?

I'm running docker with a host directory mounted: $ docker run -v /usr/groups/thing -ti imagename /bin/bash Files in /usr/groups/thing/foo are accessible: # ls /usr/groups/thing/foo a b c But ...
0
votes
0answers
130 views

502 http code when reloading nginx upstream servers

I'm having trouble load testing a web application running in docker. I'm running 2 containers of the same application, In hopes that when I bring one down the traffice will relay to the next server. ...
-2
votes
1answer
67 views

What is serving my nginx on the docker? [closed]

I got the cheapest VPS on Digital Ocean. I followed this guide, everything works like a charm.. But now I want to serve multiple nameservers on the same ip, so I need to figure it out how this is ...
0
votes
2answers
118 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 ...
-1
votes
1answer
81 views

Docker and Active Directory Integration [closed]

I haven't found any information on integration with MS Active Directory. I use Vintela on Linux systems to authenticate with my AD servers. If I were to have a large Docker server, I could probably ...
0
votes
0answers
337 views

Why might the Jenkins user not have permission to access the Docker unix socket?

I've added the jenkins user to the docker group thinking that it would allow Jenkins jobs to run Docker commands. If I switch to the jenkins user, I can verify it works (manually): ubuntu@hostname:~$ ...
0
votes
0answers
58 views

Understanding Docker volumes

Sometimes, for the sake of easiness of config (so I can meddle with .conf files without needing to mounting each volume separatedly) I just set VOLUME ["/etc"] and then use -v /container/web/etc:/etc ...
2
votes
1answer
182 views

Passing through RDMA network devices to docker containers

I'm wanting to passthrough infiniband to a docker container so that I can run some high performance apps over ipoib and use rdma. Currently, I'm doing this with xen virtual machines. Now I'm looking ...