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

learn more… | top users | synonyms

0
votes
1answer
7 views

SCP from docker image on elastic beanstalk

I need to get a file from the docker image running on AWS Elastic Beanstalk. I can SSH into the EB instance, but after that I have no idea what to do. sudo docker images shows two images, one with ...
0
votes
0answers
15 views

Why same docker container has different file system on different environment?

I have several environments - one uses Proxmox (with Ubuntu 14.04 VMs) and another one uses OpenStack (with Ubuntu 14.04 and CentOS 7 VMs). There is a docker image that is used on all these ...
0
votes
0answers
7 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
29 views

Can't access mysql docker container from the host

I have a debian server with docker 1.6.0 on it with a running official mysql container (https://registry.hub.docker.com/_/mysql/). I use a fairly basic firewall configuration in which all ports are ...
1
vote
0answers
12 views

Assign physical interface to docker exclusively

I would like to run a high performance network test in a docker container, and do not want the overhead of bridging (so pipeworks won't work AFAIK). I would like to assign (in addition to the normal ...
0
votes
1answer
14 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 ...
1
vote
1answer
31 views

Move docker data (images and containers) to separate drive with different FS

I am planning to move docker data (images and containers) to separate drive as they require many space. As I know I can move /var/lib/docker to separate drive and create soft link to it. But I have ...
0
votes
0answers
21 views

Docker and lxc containers

If I export a lxc container with lxc-snapshot and then have something on disk, how could I run this through docker and should it be compatible? I've tried tar'ing it and then trying to 'docker load' ...
0
votes
0answers
19 views

Multiple docker containers elastic beanstalk

I'm running my Play Scala app on Elastic Beanstalk using a single container Docker. The thing is, if I SSH into my instance, and run docker ps, I see this: CONTAINER ID IMAGE ...
0
votes
0answers
4 views

Getting Mac Docker client to connect to virtualbox via vagrant [migrated]

I am trying to expose dockers tcp ip to my host docker client. I have the following setup Virtualbox 4.3.26 r98988 vagrant 1.7.2 Mac OSX Mavericks 10.9.5 Centos 6.6 vagrant box running (docker ...
0
votes
0answers
18 views

Building docker image using git

I want to build a docker image whenever I push to a remote git server. If I try it out locally, I use my repo with a dockerfile inside to include a hook (inside .git/hooks), that will cd down a level ...
-3
votes
1answer
50 views

How to set up port forwarding from Windows host to Vagrant Linux VM to Docker containers?

I'm using a Windows host, running CoreOS in Vagrant with VirtualBox provider, and in that CoreOS, I have Kubernetes 0.14.2 single-node cluster running (I couldn't get latest version, 0.15, to work ...
1
vote
2answers
36 views

Use a specific outbound IP with Docker

I have 3 network interfaces: docker0, eth0 and eth0:0 (alias). auto eth0 iface eth0 inet static address 1.2.3.4 netmask 255.255.255.0 network 1.2.3.0 broadcast ...
0
votes
1answer
42 views

Multiple commands in Docker CMD directive

Not understanding what is happening when I try to execute two commands at runtime via CMD directive in `Dockerfile. I assumed that this should work: CMD ["/etc/init.d/nullmailer", "start", ";", ...
0
votes
0answers
40 views

How to configure iptables when running Docker

I have a difficult situation here, i have setup many containers on my docker host, running different applications like mailserver, databases, redis, and certain html applications using other ...
0
votes
0answers
14 views

Update default PATH in CentOS6.6 Docker Image

docker run -t -i centos:6.6 /bin/bash I installed two java versions on this container Saved it via docker commit blah blah and I wanted to update the default PATH so when I run docker run -t -i blah ...
-1
votes
1answer
62 views

Multiple websites running in docker containers, how to implement?

I am running two docker containers, using the following docker-composer script: db: image: cofoundry/mysql environment: - MYSQL_USER=wordpress - MYSQL_PASS=wordpress - ...
0
votes
1answer
26 views

Server denied check_authentication after migration of Drupal

I just moved a drupal website from one server to another. On the original server the site was set up directly in apache. On the new server, i have a docker layer in between: The machine runs a debian ...
0
votes
1answer
38 views

Removing Docker data volumes?

The official Docker documentation mentions that I need to run docker rm -v containername to specifically remove a data volume. But what do you do if you already removed all the containers referencing ...
0
votes
0answers
15 views

AWS t2.micro and Docker - is there a limit in number of Docker containers? [duplicate]

I would like to run small CI pipeline on AWS using Docker. Is there on AWS t2.micro plan any limit in number of Docker containers ?
0
votes
0answers
64 views

Deploying a (Ruby) web server in a Docker on Elastic Beanstalk: is this double web server ok?

We have a web app in Ruby which is deployable via a Docker setup, among other things to have exactly to same Ruby environment from developers to the production server. We chose to deploy it on AWS ...
0
votes
0answers
78 views

Coreos auto scaling with docker and fleetctl on AWS

I spent a lot of time evaluating different ways to deploy an application to the cloud (let's assume AWS for this question) in the last few weeks but couldn't really find a satisfying solution. We ...
0
votes
3answers
32 views

How can I install multiple Atlassian applications in a single server?

Ok, this is a two-part question. I got an unmanaged VPS with CentOS from a hosting company in order to install several Atlassian tools, however, I ran into the problem that when starting a second ...
1
vote
2answers
61 views

CoreOS: `fleetctl stop <service>` always exits with status 137

I've been trying to familiarise with CoreOS (v. 633.1.0), and I've been playing around with fleet (I'm using the recommended Vagrant 3-cluster setup on my local machine). I have created the following ...
4
votes
3answers
87 views

Docker Container time & timezone (will not reflect changes)

Where do Docker containers get their time information? I've created some containers from the basic ubuntu:trusty image, and when I run it and request 'date', I get UTC time. For awhile I got around ...
0
votes
0answers
30 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 ...
-2
votes
3answers
63 views

Can Docker Corrupt a Software RAID Setup? [closed]

I read that software RAID should not be implemented on a machine that also has ESXi virtual machines running. Does this mean that I would want to avoid LVM and or LXC/Docker containers as well on this ...
0
votes
1answer
68 views

Inside Docker container - crond running but no cronjobs executed

I have built a container from a Dockerfile, based on an Archlinux base image. Using a "RUN" command I have installed "cronie", since Arch does not come with any form of cron. Now, after the container ...
1
vote
0answers
33 views

Managing IAM security credentials for multiple docker containers

Within plain EC2 environment, managing access to other AWS resources is fairly straightforward with IAM roles and credentials (automatically fetched from instance metadata). Even easier with ...
1
vote
1answer
114 views

Docker - Exposed ports accessible from outside - iptables rules ignored

I have a docker container running like: docker run --name some_container_1 -p 8080:80 -d some_image Which works fine. The container exposes it's port 80 to 8080 and is accessible from localhost. ...
-1
votes
0answers
40 views

How can I publish the IP addresses of Docker containers as local hosts? [migrated]

I have a CoreOS server with a few Docker containers. (Right now I'm using local systemd unit files to run the containers, I have yet to approach fleetd.) What is the best way to connect to the (non ...
-2
votes
1answer
37 views

docker cockpit error after redirecting with nginx

Distro: Arch Linux, service app: systemctl, (cockpit is a web based system administration and docker container manager). I recently installed cockpit on a VPS and is working great on IP:9090, later i ...
0
votes
0answers
14 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
1answer
30 views

Reset / Ingnore non-zero exit code with fleet / systemd

I have a backup.service called every hour by a backup.timer. Unfortunately the backup script running inside the container can complete successful but with warnings returning a non-zero exit code. So ...
0
votes
0answers
49 views

Docker memory swap account broken in ubuntu 14.04.2

I'm using ubuntu 14.04.2 . I saw that recently swap support was broken, maybe with a recent kernel upgrade? On a fresh install: cat /etc/default/grub: ...
0
votes
1answer
31 views

Using docker without root rights but restricted sudo

I just started a new job and directly got problems with the guys operating our server farms (company is quite big). I was used to use docker and would like to keep that going with the products I am ...
0
votes
0answers
38 views

How to set up squid to proxy a remote HTTPS private repository on port 8443?

I have a cloud of machines that access a remote private docker registry. Unfortunately bandwidth between the remote registry and the local cloud is quite low. A registry mirror would be great! but ...
0
votes
1answer
72 views

Cannot write to /etc/hosts file from Dockerfile with RUN

I am making a docker image using a pretty simple Dockerfile. Inside the Dockerfile I have this command: RUN printf "192.92.13.243 www.hahaha.com \n" >> /etc/hosts The command itself seems to ...
1
vote
2answers
89 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?
0
votes
1answer
51 views

Build of Arch linux Docker image hangs - RUN pacman -Syyu --needed --noconfirm

I am trying to build a custom Docker image using a Dockerfile. The base image I am using is this one: l3iggs/archlinux My Dockerfile is like this: FROM l3iggs/archlinux:latest COPY source ...
0
votes
0answers
54 views

Modify iptables rules when docker container has started

On my debian host I have a few docker containers, which I ran with -restart=always so, they start after host has rebooted. Some of them have exposed ports, and docker host process adds certain ...
-1
votes
1answer
64 views

Run cron in centOS as user process, not daemon

According to this site, an easy way to set up a scheduled task in a single Docker container is to create a single crontab that runs your task, and then invoke it as the last Docker CMD with the line ...
-1
votes
1answer
65 views

I have docker installed - how to edit iptables of machine?

On a machine that has docker installed, I am doing a sudo iptables -L, and get: root@dockertest:~# iptables -nvL Chain INPUT (policy ACCEPT 8364 packets, 729K bytes) pkts bytes target prot opt ...
2
votes
3answers
147 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 ...
0
votes
1answer
62 views

How can i fix corrupted file system in linux

I shifted my docker container to new server and i think in the process my file system got corrupted. This is the output i get root@2389374b235b:/var/local/atlassian/confluence/plugins-osgi-cache# df ...
1
vote
0answers
40 views

Getting a specific CentOS base image with mkimage-yum.sh

Docker's mkimage-yum.sh does indeed work (awesome little script) but it pulls 6.6 (the latest with updates). I was wondering if it's possible to specify 6.5. I believe I can use yum.conf but the yum ...
1
vote
0answers
58 views

Packer.IO Error uploading file/script

Whatever I try to upload with Packer to a new provisioned docker image is fails with: ==> docker: Pausing before cleanup of step 'StepPull'. Press enter to continue. ==> docker: Pausing before ...
0
votes
1answer
62 views

Packer.io full working template

Is there anyone out there who is using this project? I would love to see a full working template file, and they claim that this is enough to get it running: { "type": "docker", "image": ...
0
votes
1answer
34 views

How can I set environment variables for a different user

I'm trying to get 2 docker containers started and linked together with a rails app. This app relies on these environment variables: POSTGRES_PORT_5432_TCP_ADDR POSTGRES_PORT_5432_TCP_PORT When I ...
1
vote
1answer
113 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 ...