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

learn more… | top users | synonyms

-1
votes
1answer
11 views

Docker container hangs with no apparent fault

I have an docker app running in elasticbeanstalk that hangs after about 10-11 days of uptime. The app runs a cron job every minute. There is no long-running application process (of mine). Once it ...
-1
votes
0answers
15 views

What is the difference between Docker with Swarm and Windows DFS? [on hold]

I have an Intranet site I want to keep sychronized between servers. What's the difference in doing that with DFS vs Docker? Docker is going to use an entire OS image?
0
votes
1answer
16 views

Failed to install the ansible with pip

I tried to install ansible with the following commands: docker run -ti --rm ubuntu:14.04 bash echo "===> Updating cache..." && \ apt-get update && \ \ \ echo "==...
0
votes
0answers
33 views

how do i start php7.0-fpm with supervisord?

I am trying to build a dockerized ubuntu 16.04lts with apache2 and nginx with php7.0-fpm commands i have used but did not work [program:php-fpm7.0] command = /usr/sbin/php-fpm7.0 --daemonize --fpm-...
0
votes
0answers
4 views

nginx docker container cannot see client ip when using '--iptables=false' option

I am using Docker 1.11.2 on Ubuntu 16.04. I am running several containers on my host which expose public ports, some should be only accessible by certain ip ranges, while others, like an nginx proxy ...
0
votes
1answer
18 views

sudo-like privilege management for docker containers

I want to allow a Docker container to invoke some actions on another container without granting it full privileges. An example would be a Docker container which does log rotation and reloads the ...
0
votes
1answer
16 views

Docker : container by app with LAMP included or LAMP container only?

I have server with 20/30 sites to hosts and I would like to use Docker containers for scalability, maintenability and security. After few searches, I found 2 approaches : one container per ...
2
votes
1answer
32 views
+50

Autoscaling containers through consul and registrator

I am using an infrastructure platform consisting of docker containers running on centOS host. Scaling multiple containers through docker compose. Consul for service discovery. Registrator for ...
-1
votes
0answers
18 views

/etc/group overriden after reboot

For my server Centos7 in google cloud I've tried to modify user and add him to docker group with usermod -aG docker dev. Everything works until a reboot occurs. After reboot user is no longer in ...
1
vote
0answers
13 views

How can I find the docker-machine network adapter name for a docker container?

I would like to introduce network variability into docker containers. Specifically, I would like to be able to run commands such as: sudo tc qdisc add dev vethecb732a root netem delay 500ms 400ms ...
0
votes
1answer
20 views

HTTPS request fails in Docker >= 1.10 with virtualized network

I experience a problem that a HTTPS connections cannot be established from inside a Docker container with version 1.10.3 or 1.11.2. I tried with apt-get, curl and wget and all fail as soon as a HTTPS ...
0
votes
0answers
23 views

Docker --userns-remap on a container basis

I work on a few applications which am trying to run in containers for development purposes and I'm struggling to understand how to map the Uid/Guid in order to develop on both at the same time. I ...
0
votes
1answer
11 views

Cannot access files in docker as a non-root user 777 permissions + facls

I have a docker container with a web app. Apache cannot read to the log folder. The apache user has specific rwx on the facl folder. I set 0777 on the folder recursivelyinside and outside the ...
0
votes
2answers
54 views

Linux block outgoing traffic to a specific ip without iptables

I basically need to run the following iptables -A OUTPUT -d 169.254.169.254 -j DROP except I cannot use iptables because the program is running in a docker container and I cannot use the --privileged ...
0
votes
0answers
12 views

Docker installation inside a google compute engine instance for installing a dcos cluster

I have been working on an ansible script for installing a DCOS mesos cluster. I have been following the steps in the advanced installation section of the documentation of DCOS inside my ansible script....
0
votes
1answer
17 views

How to execute some commands before the user scripts in cloud-init

I'm trying to run some scripts and config using a multipart config. Content-Type: multipart/mixed; boundary="MIMEBOUNDARY" MIME-Version: 1.0 --MIMEBOUNDARY Content-Disposition: attachment; filename="...
0
votes
1answer
21 views

How to limit access from host to docker container

I am new to docker. I setup a container which run a web application at port 3333. it works well. By default we could access container bash from host without password. I share the host machine with ...
0
votes
0answers
26 views

Pinging (ICMP) Docker container on AWS ECS

I've got a script running in a Docker container that listens for ICMP packets. If you ping the container IP address, it picks them up and sends an email. However I'm having a bit of difficulty ...
0
votes
0answers
34 views

Can we rely on docker virtual network isolation?

I'm building an architecture with docker. As everything is virtual I cannot see how to apply general concept like DMZ, firewalling and other network isolation method. When two containers are sharing ...
0
votes
1answer
19 views

Do we need passwords for localhost database connections in docker context?

My question is related to my specific environment : I'm running a web application in a docker container and a database in another container. I use docker compose to run both containers : my web ...
0
votes
1answer
19 views

Can not start a Docker container

I Built an image using flask, nginx and uwsgi. FROM ubuntu:14.04 MAINTAINER Ali Mezgani <xxxxxxxxx@gmail.com> RUN apt-get update && apt-get -y install python python-dev python-pip RUN ...
0
votes
1answer
14 views

Is there an equivalent for docker testing something like tox for Python?

tox allows you to test your code against different versions of Python. Is there something out there similar to tox that allows me to test my deployment code against different version of a distribution ...
0
votes
3answers
76 views

Drupal 8 Nginx error No such file or directory for any routes

I'm running Drupal 8.1.2 on a Docker image of Nginx + PHP7 + PHP 7 FPM and it's linked to another Docker image of PostgreSQL both of them based from Alpine Linux. After successfully running Drupal ...
0
votes
1answer
23 views

How make Docker auto-survive kernel upgrades and restart?

Brief question: Docker, Ubuntu 16.04, auto-security-upgrades & reboot. Then how can I ensure the newest linux-image-extra-`uname -r` has been installed before Docker attempts to start the ...
0
votes
0answers
10 views

Docker serveral ip in container and openvp

Run docker container with openvpn. How for each user i can assign external Ip address of the server where Docker. In the usual case, for openvpn I use "client-config-dir" where you assign each user an ...
1
vote
0answers
51 views

Poor performance with docker internal DNS

I have a problem with docker internal DNS. On one of docker container dns server is so slow that it time out most of the queries. Docker is installed in KVM virtual machine and I have several ...
0
votes
1answer
65 views

Tag latest not found in repository docker.io/library/nginx

I am trying to install Docker on my MAC . I am getting the below issue predix-docker xxxxxx $ docker pull nginx Using default tag: latest latest: Pulling from library/nginx 968c69f18673: Pulling ...
0
votes
2answers
30 views

Analyze memory and cpu peaks of docker container

I want to analyze the maximum memory (RAM + swap) usage and the maximum cpu utilization of a single docker container. I know that one can use docker stats and /sys/fs/cgroup/memory/docker//memory....
0
votes
0answers
37 views

Docker how to Django + uwsgi/gunicorn + nginx?

I can't get my head around on what's the "correct" way to deploy a Django project that uses uwsgi/gunicorn (I haven't decide yet what to use, probably uwsgi since it has better performances, ...
0
votes
0answers
21 views

Publish docker images to AWS ECR from Jenkins

Following this discussion- Integrate Amazon Elastic Container Registry with Jenkins, After publishing my image to ECR from Jenkins using a shell script, it works- but another image with empty tag ...
0
votes
0answers
47 views

In terraform, howto attach a backing ec2 instance to an ecs service

I’m using Terraform to upload a web to AWS. This ECS, with a docker image, that errors with 500 when I try to go to it’s assigned A-record DNS name. For this service, I’ve assigned a few AWS resources:...
0
votes
1answer
27 views

Can't enable cgroups memory controller

I have Debian 8.5 on DigitalOcean with a kernel version 3.16.7-ckt25-2 I'm trying to enable cgroups memory controller for Docker. I add cgroup_enable=memory swapaccount=1 to ...
1
vote
1answer
54 views

Postgresql replication with pgpool or pgbouncer

I'm looking for a good configuration for a postgresql replication with a robust failover strategy (self hosted). Actually, I configured two postgresql instances in master / slave with repmgr. Now, I ...
0
votes
1answer
16 views

Logstash issue matching a substring of custom field

I have the following Logstash setup. Logs are piped to Logstash from Logspout via the logspout-logstash adapter, which adds a few fields to log messages, namely the docker.image field. I am able to ...
1
vote
2answers
98 views

Docker exec/run shell command nesting

A short introduction to the use case: I am using a docker container to run my go tests using go test ./.... This can be achieved easily using docker exec <container> /bin/sh -c "go test ./..."....
4
votes
1answer
47 views
+50

No IPv6 connectivity from docker container

i'm having serious problems enabling IPv6 in docker. Environment The host is running Debian Jessie. It's a virtual Server (KVM). eth0 has a statically configured address like w:x:y:z::1 in a ...
0
votes
1answer
40 views

Skipping the InRelease step when apt-get update (and go directly to Release)

I've just installed a fresh Xenial on a server box and almost immediately tried to install Docker on it. The Docker installation page says that you have to create a /etc/apt/sources.list.d/docker....
1
vote
1answer
39 views

Can not using websocket with nginx

I am using Activemq as broker, client side is Paho js to send websocket request(ws protocol). Everything work fine on server, but when the server start to set nginx as proxy, the client can not ...
0
votes
0answers
29 views

MongoDB won't keep running in a Docker container

I want to set up a MongoDB Docker container which would work based on a configuration file I specify. Here it is: storage: dbPath: /data/db/mongodb journal: enabled: true systemLog: ...
-1
votes
1answer
35 views

Make SSH server to forward connection per user

Is there any way to force OpenSSH (or create a proxy of some kind) to forward one user to one machine and another user to another machine just by the username that he (or she) provided? I've got ...
0
votes
0answers
20 views

Dockerize Openstack Image for Local Development

In OpenStack I have production images configured with PostgreSQL and some corporate environment specific network configurations. The images are in the QCOW2 Format. I would like the developers to be ...
0
votes
0answers
24 views

Running Consul Agent on AWS EB / Elastic Beanstalk

Does anyone have experience of running Consul Agent on AWS? I have a cluster of consul servers running, but want to use the AWS EB to deploy a docker app, and a docker consul agent (progrium/consul) ...
0
votes
1answer
18 views

HA Swarm cluster with docker-machine

I have a Swarm cluster which currently only has a single master. So far the whole thing has been deployed using docker-machine. I have another node that I would like to use as another master. When I ...
1
vote
1answer
87 views

Serve static content using docker + nginx + php-fpm

I'm trying to configure a php webapp using docker. The idea is to run the app using php-fpm in an standalone container and have another container that will run nginx. The idea for this set up is to ...
0
votes
1answer
34 views

Make docker containers deletion faster for arch linux

There is huge difference in how fast containers deleted between ubuntu and arch linux: # ubuntu $ time docker rm 2761334a4236 2761334a4236 real 0m0.025s user 0m0.017s sys 0m0.004s # arch ...
2
votes
1answer
33 views

Can't start docker daemon—invalid image

I am unable to start docker daemon. When I try I get a bunch of errors saying invalid image sha256:{some sha here}, failed to verify image: sha256{some sha here} and then one line that says Error ...
-3
votes
1answer
58 views

32 or 64 bit OS use for Docker containers? [closed]

Being choose between 32 or 64 bit based OS to create Docker images I ask you to advice. The primary goal is to run many small sized containers. That is, I don't need fancy features like > 4GB RAM ...
0
votes
2answers
37 views

Install mysql-5.6 non interactive

I couldn't find any solutions how to install mysql-5.6 in a docker container non-interactively. I found the following commands but they need user input: # Update the repo list, execute : wget http://...
0
votes
1answer
22 views

Mixed Riak cluster with docker container instances and non-container instances

I have a riak cluster that is running on multiple virtual machines scattered about. I am now experimenting with docker and would like to add nodes to the cluster that are running within docker ...
1
vote
1answer
16 views

List network Docker

I was wondering if there is a docker command to list all the containers with their network? I know there is docker network inspect, but that's to inspect a network. I'm looking for a command that ...