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

learn more… | top users | synonyms

0
votes
0answers
19 views

Docker open ports in iptables (rabbitmq)

I'm having a docker image based on rabbitmq. Nothing in my Dockerfile specifies anything about ports. I bind the usual rabbitmq ports (5671, 5672 and 15672) to my custom ports by running my instance ...
0
votes
1answer
11 views

Docker: how to link host to container with the “link” option?

I understand that it's possible to expose host to container manually, using the docker bridge network. But how can I make life easier to accomplish the linking by using the --link switch? For ...
0
votes
0answers
12 views

When using Docker on AWS Elastic Beanstalk, I can't access an RDS instance

When I ssh into the EB instance, I am able to connect to the RDS instance. However, once inside Docker (I have tested this by running bash under Docker), I am unable to connect to it. I am able to ...
0
votes
0answers
39 views

docker-py + lxc driver: net not working

I use docker (versio 1.5.0) with the lxc driver (version 1.0.4-3). When I create a new container from the shell like this it works fine: docker run \ -d \ --name $username \ --net="none" \ ...
0
votes
0answers
24 views

Forwarding traffic between interfaces inside a docker container

I have created a docker container executing the following command docker run -it --net=none --cap-add=NET_ADMIN --name firewall ubuntu /bin/bash after I have attached it two interfaces eth0 and ...
0
votes
0answers
54 views

How to run systemd on ubuntu 14.10 utopic in a docker container?

Installed systemd on the host with the following commands: sudo apt-get update sudo apt-get install systemd-sysv copied new /etc/default/grub file with: GRUB_CMDLINE_LINUX_DEFAULT="quiet ...
1
vote
1answer
63 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 ...
0
votes
1answer
18 views

What is the recommended method for securing a Crate.io installation

I have installed an instance of Crate.io via docker on a CentOS 6.6 machine (that also runs cpanel) By default Crate.io runs on port 4200 and is open to the world. I would like to secure this, so ...
1
vote
1answer
32 views

configure and test rsyslog to UDP socket

I am trying to use https://github.com/gliderlabs/logspout so I can see all the logs from my containers in one place. I need rsyslog to listen on UDP socket on port 514. I uncommitted $ModLoad imudp ...
0
votes
0answers
11 views

How do you get descriptions into a docker image on a private registry?

I've looked at the build command, the push command, and various registry API calls, but none of these have a feature which to apply a description. Descriptions seem to be implied from the remote ...
1
vote
1answer
416 views

Docker daemon answer 404 after update

I recently updated my docker from 1.4 to 1.5 (with the package lxc_docker). Since, The docker daemon send me an error like this (for every command): $ docker version Client version: 1.5.0 Client ...
0
votes
0answers
22 views

MySql server keep crashing inside docker

I am running mysql inside docker with its /var/lib/mysql mounted on HOST. Eveything was working fine . Then i upgraded the docker from 1.4 to 1.5 . I rebuild the mysql image and but /var/lib/mysql ...
0
votes
1answer
17 views

Reverse proxying with dockerized nginx

[Cross post from stack overflow since I think server configuration might be the problem] I'm building a multi-container application with Docker. The full environment is on github should you wish to ...
0
votes
0answers
33 views

HAProxy Does Not Recover After Failed Check

All, I'm having an issue with HAProxy not recovering after a backend server is restarted. I'm not using the proxy for load balancing, but to direct different URLs to different servers (web and web ...
0
votes
1answer
73 views

Docker COPY issue - “no such file or directory”

In my Dockerfile I have the following 'COPY" statement: # Copy app code COPY /srv/visitor /srv/visitor It should go without saying that in my host system, under the "/srv/visitor" directory, there ...
1
vote
0answers
43 views

Using Docker and Vagrant with Node and Express

So before I start, I'm new to this and since I learn best when I give myself a project I wanted to user Vagrant and Docker to make a simple Node and Express server with a shared folder outside of the ...
1
vote
1answer
56 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 ...
0
votes
1answer
46 views

How to tune MariaDB/MySQL in a docker container?

I understand that it's easy to get a MariaDB docker container up and running, and using nsenter to edit config files is possible. But how can I tune the config files in this container, e.g. the ...
1
vote
1answer
50 views

How to run blackmagic inside docker?

I try to use blackmagic inside docker, but not successful. Here is some output from "bmagic". Why it says "no cards found"? And how to fix? $ bmagic LOG (2015-02-04 20:37:19) List of devices with ...
0
votes
1answer
71 views

Newer docker client with older Docker host

We have a slightly older Docker server running on RHEL 6.6. It's not well-supported by our operations team right now, so we can't upgrade easily. Right now it runs Docker 1.3.2 from an EPEL repo. If I ...
0
votes
2answers
63 views

Docker (systemd) ignores change of default directory (docker.service)

I want to deploy docker on a server, but I want all docker-related data to be in a separate partition from the base system. I have thus mounted said partition at '/srv' and made the following changes, ...
0
votes
0answers
21 views

docker Can't get ENTRYPOINT and CMD to work

I have to start two services in one container I have tried all kinds of variations, and think this is how it is supposed to look. But clearly I am missing something. The container exists right away! ...
-8
votes
1answer
60 views

What cause this error? [closed]

I am running two docker containers one is for hadoop basic services and other is for flume. Services are running successfully. I linked two containers env variables are automatically set by docker ...
0
votes
1answer
22 views

Apache container with Server-Status

Have someone here setup successfully apache with server status inside of a container to allow access from the host? I have already tried with --add-host param at docker to then allow that host at the ...
0
votes
0answers
35 views

# of visible CPUs within a container? Is there a setting [duplicate]

My container sees always the full amount of physical CPUs of the host system instead of the number of CPUs specified through the commandline e.g. using --cpuset. Is there a way to make a container of ...
3
votes
2answers
110 views

Kernel Tuning with Privileged Docker Container

I'm building a container to tune kernel settings for a load balancer. I'd prefer to deploy those changes to the host in an image using a single privileged container. For example: docker run --rm ...
1
vote
0answers
29 views

neo4j docker coreos - logging everything to the console

I’m setting up neo4j in docker for use in a coreos cluster. The container is running neo4j console and I want all the logging to go to the console. I’ve updated logging.properties to only use the ...
0
votes
1answer
67 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
38 views

Destination host is unreachable

Points to Note I am installing cloudera 4.6.0 using docker in pseudo distributed mode. I have created two docker containers. One is for hadoop and another is for flume. I linked two containers as ...
1
vote
1answer
78 views

How to connect two docker containers running on the same host?

I have two docker containers running docker ps results CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0bfd25abbfc6 ...
0
votes
0answers
39 views

Docker & Shorewall: Access container via localhost

This is kinda a follow-up to the excellent anwer of user fazy in this previous question: Docker & Shorewall I applied the configuration as described there but it doesn't seem to work with a ...
0
votes
0answers
46 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 ...
0
votes
1answer
30 views

How to make a running Docker container aware of the other containers?

I have a distributed service managed on a server that requires client IP address to be set in a configuration file. For now, several client containers are started before the server, which is linked ...
1
vote
1answer
49 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
212 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
44 views

How do I resolve this locale issue?

I am working on setting up a Docker build that will allow me to connect to SQL Server from Linux. As far as I know that has almost nothing to do with this question, but it might, because I'm pretty ...
0
votes
1answer
74 views

The right way to keep docker container started when it used for periodic tasks

I have docker container with installed and configured software. There is no any programm supposed to be started/runned all the time. What I want - its ability to start some command depending on ...
0
votes
0answers
34 views

Docker container needs access to a few vlan interfaces on host

I have a debian box, with a lot of vlan interfaces iface vlan4003 inet static address 10.254.25.249 netmask 255.255.254.0 mtu 1500 vlan_raw_device eth1 iface vlan4004 inet static address ...
0
votes
1answer
66 views

Docker data volumes with couchbase

I have a docker image that runs Couchbase enterprise 3.0.2 It's in a private repository currently. So lets just say the name of it is: matt/couchbase In order to allow the data to persist should ...
0
votes
1answer
33 views

What is safe way to stop mysql docker container?

I run mysql container using Docker. I start it with like sudo docker -d --name mysql -p 3306:3306 -v /var/lib/mysql:/var/lib/mysql mysql_image I suspect that stopping mysql by stopping docker is ...
0
votes
1answer
122 views

CoreOS - Starting Docker containers on specific VLANs

This is an addition to this question about how to setup VLANs on CoreOS [CoreOS bare-metal vlan networking. My question after is after you set this up, how do you use it? How do you start a ...
2
votes
1answer
62 views

Docker container exits without any message

I'm trying to run xinetd in a Docker container. My Docker file is very basic: # voip-monitor # # VERSION 0.0.1 FROM ubuntu:14.04 RUN apt-get update && apt-get install -y ...
0
votes
0answers
55 views

tail -f not following log file in Docker container

I am seeing some strange behavior running the tail -f command inside a Docker container in CoreOS. There are a number of variables I can think of that may be contributing to the problem but I am not ...
0
votes
1answer
179 views

Postfix in Docker container not forwarding virtual aliases

I am trying to configure Postfix for the first time. I do not need mailboxes, I want only virtual aliases, forwarding info@example.com --> myname@gmail.com My Postfix is running in a Docker ...
0
votes
0answers
98 views

CentOS 6.6 -> 7.0 Upgrade, Apache reverse proxy no longer correctly working

I am running a web application in Docker where the HTTP port 12020 is exposed. I moved my setup from CentOS 6.6 to 7.0 and now with the following virtual host configuration I can no longer reach the ...
0
votes
1answer
43 views

What Apache config do I need for Artifactory Docker support?

The Artifactory Docker documentation shows how to configure nginx as a reverse proxy but what's the equivalent Apache2 configuration? In particular what are the apache equivalents of the following ...
0
votes
0answers
45 views

Mesos kills container when requests increase

I deploy Docker containers on Mesos(0.21) and Marathon(0.7.6) on Google Cloud Engine (Ubuntu 14.04). I use JMeter to test a REST service that run on Marathon. When the concurrent requests are less ...
0
votes
0answers
136 views

Vsftpd don't work fine in passive mode in LXC container

I'm beginner in Docker, I have a vsftpd in a Debian and for passive mode I configured in vsftpd: pasv_enable=YES pasv_min_port=65000 pasv_max_port=65000 pasv_address=192.168.1.31 and I show with ...
3
votes
1answer
60 views

From docker containers to Google Kubernetes

This one is a little theoretical but please bear with me. Currently I have a server running a few Docker containers (4 or 5, depending on day and time). I plan to add another one, just like the ...
-1
votes
2answers
36 views

How can I redirect virtualhosts (different domain) on the same port (443) to different internal ports? [closed]

I understand I can redirect HTTP traffic using Nginx. But what about non-HTTP traffic, Such as SSHD, etc? I'm asking because I have various dockerized services that will like to share the parent ...