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

learn more… | top users | synonyms

-1
votes
0answers
18 views

Optimum docker-machine configuration

We have a fairly complex Rails app that is about to be deployed onto a single physical host. The host has 8 cores and 128GB ram. The app is dockerised, with 4 types of containers Rails inc. web ...
2
votes
1answer
28 views

Why do we use a OS Base Image with Docker if containers have no Guest OS?

I've just started to study Docker and there's something that's being quite confusing for me. As I've read on Docker's website a container is different from a virtual machine. As I understood a ...
2
votes
0answers
40 views

How to upgrade Docker to 1.10.0 on CentOS7?

Docker 1.8.2-10.el7.centos was installed and was able to run on CentOS7. In order to upgrade docker this post was read and the following commands were issued: curl -L ...
0
votes
0answers
6 views

Is it possible to install software on Docker Machine? [migrated]

I've installed Docker-Machine in my Windows 10 computer. I'd like to edit the dockerfiles using emacs, but docker-machine ships only with vi. Is there a package manager which I could use to install ...
-1
votes
0answers
6 views

Container Engine in different regions and zones [on hold]

I'm trying to figure out what is the best way to spread my clusters over multiple regions without creating new clusters or changing the structure of my network. Basically, each of the services in the ...
-1
votes
0answers
18 views

When does nginx's proxy_pass return 301 and when does it forward the request?

When using a nginx server on a vagrant (hosted by virtualbox) i used this config ... server { port_in_redirect on; listen 80 default_server; listen [::]:80 default_server ipv6only=on; root ...
0
votes
0answers
30 views

Permissions denied to directory owned by a user

I have a similar problem to that posted here, in that a user is unable to access the contents of a directory they own. A quick search shows quite a few other similar questions, however the problem ...
0
votes
1answer
48 views

failed to install docker on Debian 8

This is the first time I deal with Debian, and I need a docker. I was following https://docs.docker.com/engine/installation/linux/debian/ to get it installed, however I faced the error: % apt-get ...
2
votes
0answers
15 views

How to add a prefix / label for services to supervisor stdout output

I'm using supervisor in docker images when I have to run multiple services in one image e.g. postfix and other mail services. When I redirect the stdout/stderr from all services to supervisor and ...
0
votes
0answers
6 views

eCommerce combined Webserver and database server or Docker instances [duplicate]

I get a server with 2x QC and 16-32GB RAM now I would like to host a eCommerce Platform and I ask me which solution would better if I have a combined Webserver and DB Server or If I have two docker ...
0
votes
1answer
13 views

Docker controller/worker swarm architecture and cross-communication

I'm trying wrap my head around Docker to architect a simple swarm that will eventually be deployed to AWS EC2 Container service. My task is to take different kinds of jobs in an SQS queue and ...
1
vote
0answers
21 views

Making war inside Docker stuck on NPM

Using Docker to make war file to attach to Apache Tomcat. Struggling to use NPM/MVN to get Tomcat war up. I'm behind a corporate proxy and the make scripts don't have "bower install --allow-root" ...
1
vote
1answer
26 views

Running dmesg on Docker results in “dmesg: read kernel buffer failed: Permission denied”

In order to debug why this issue occurs the following command is run on a container: docker run -it <dockerImageName> dmesg results in: dmesg: read kernel buffer failed: Permission denied ...
-1
votes
0answers
67 views

Running systemd on Docker results in “Failed to get D-Bus connection: Operation not permitted”

In order to run a service on a container, systemctl start <service_name> was run. As this failed the following command was issued in order to debug the situation: docker run -it ...
0
votes
0answers
10 views

Docker Toolbox running in OSX, how can other machines on my network access the containers? [closed]

I have the latest Docker Toolbox RC running on OS X. IP of Docker host is: $ docker-machine ip 192.168.99.100 I'm running a container like this: $ docker run -ti -p 4505:4505 my_image /bin/bash ...
0
votes
0answers
17 views

Windows: How to start docker VM att system boot

I'm in a situation where I need to run docker on a windows based build server (I'm normally working with Arch/Debian Linux) and I can't find a way to have the docker VM to start automatically on ...
-1
votes
0answers
23 views

docker on aws ec2, not reachable from outside

Trying to get the sharelatex community docker image up and running on aws. Followedd their guide and got to the point where I can see the login page when using lunx on the aws instance via ssh. So it ...
-1
votes
2answers
50 views

Nginx inside docker container can't talk to other containers (running jenkins)

I'm trying to set up a nginx proxy inside docker that will listen for web traffic and then based on virtualhosts forward traffic to differerat jenkins instances also running inside docker containers. ...
0
votes
1answer
16 views

How to configure docker to exclusively access a private registry?

I keep images on a private registry. When docker pulls an image and it is not found on the private registry it is instead fetched from the default docker registry. How can one disable the default ...
1
vote
1answer
20 views

How to make Docker resolve DMZ host?

Imagine I have this setup: An application server Private IP: 1.0.0.1; Private hostname: machine1.internal.domain Public IP : 2.0.0.1; Public hostname : machine1.example.com A ...
0
votes
1answer
49 views

How to manually upgrade docker version on a docker-machine?

docker-machine provides an upgrade command, however it only upgrades to the latest stable version I want to install 1.10RC2 on my docker machines and I am uncertain the steps to do this UPDATE On ...
1
vote
0answers
28 views

What does --memory-reservation flag do in practice?

Docs say: Under this configuration, when the container consumes memory more than 200M and less than 500M, the next system memory reclaim attempts to shrink container memory below 200M. But what ...
0
votes
1answer
27 views

docker not running despite running on foreground and -it options

I have an application that utilizes Apache2/Tomcat on Ubuntu container. It has scripts in "/etc/init.d/apatomcat" This is my Dockerfile: This is what I do on cmd I tried (including -D option with ...
1
vote
0answers
10 views

Memory usage in docker container - 600MB for OS only? [duplicate]

I am running docker swarm across two Debian 8 nodes, each with 1GB ram. I wanted to see how much memory was available to my application process (which will be a Solr server) so I did: docker-compose ...
0
votes
1answer
17 views

php:5-apache docker image no /etc/php/apache2/php.ini

I just pulled docker image php:5-apache and it runs well and all but there is no /etc/php5/apache2/php.ini file so I can't add extension=mongodb.so even if it is installed with PECL.
-1
votes
1answer
19 views

Jenkins is not reachable if using prefix

I am currently experiencing the problem that Jenkins is not reachable if I start it with a prefix. The prefix is necessary to get Jenkins available under myurl.de/jenkins (instead of myurl.de:8101). ...
0
votes
0answers
17 views

AWS ECS container run options

I need to run a container with some options that the ECS task definitions doesn't provide. More precisely I need to execute the "docker run" with the -i, -t and -d options. Do you know any way of ...
0
votes
0answers
18 views

Use docker and terminal with an ubuntu server

I'm using a VPS with Ubuntu server 15.04 installed. I need to run a docker instance and then navigate to a folder and execute a command. How can i make a docker process run in background from ...
0
votes
0answers
23 views

Docker on Windows Permissions

I am a newbie, experimenting with the Docker Toolbox and Kitematic on Windows. As best I can tell, I can only start/run these tools if I am an Administrator on Windows. If I try to start them as a ...
0
votes
0answers
36 views

Starting docker-compose with systemd on ubuntu 15.04

I have a docker-compose project that I would like to control through systemd. In upstart, I would use a script that looks like this: description "Start/Stop server" author "Jim Cortez" start on ...
0
votes
0answers
9 views

How to configure Spark client running in a Docker container for two-way communication with a remote Spark cluster?

spark-submit seems to require two-way communication with a remote Spark cluster in order to run jobs. This is easy to configure between machines (10.x.x.x to 10.x.x.x and back) but becomes confusing ...
0
votes
0answers
14 views

Why Docker Env not effect in root terminal?

I use Docker For Test I set env to use,for maven's binary path. but when i use ssh login in my container, i can't use mvn ,and the env didn't have the variable i set when i use Docker's Terminal, i ...
1
vote
1answer
23 views

Is it possible to set up environment variables to be imported into every docker container

In a CI environment, I want to pass credentials for reaching authenticating to our internal Gems server into docker containers being started within CI jobs. I would like to be able to configure the ...
0
votes
1answer
61 views

Cannot clone private repositroy from the docker container

The problem I'm trying to clone private repo from gitlab (self-hosted) during the gitlab build. I'm using ssh private key without passphrase, but got an error key_load_private_type: incorrect ...
0
votes
0answers
2 views

docker : When creating a machine VT-X/AMD enabled yet [migrated]

I'm going through this tutorial Dockerizing Flask With Compose and Machine - From Localhost to the Cloud When trying to create a virtualbox with the command below docker-machine create -d ...
1
vote
1answer
44 views

Running a Linux docker container inside a Windows Server provisioned through Xen on CentOS (Can it be done?)

How do you properly propagate VT-X through physical hardware into a server provisioned via Xen so that virtualized docker can be run inside the virtual Windows server? L0 is Xen running inside ...
1
vote
1answer
28 views

ElasticSearch container on CoreOS with persistent storage

I'm trying to run an ElasticSearch cluster on Docker and CoreOS [stable] on DigitalOcean. To get persistent storage working, I tried pretty much every option and running out of ideas. Pretty much ...
2
votes
2answers
23 views

SELinux create custom role

I have a folder shared out via Samba, and a Docker container which I would like to give access to said folder by adding it as a volume to the Docker container (yes, I know that's not portable). ...
0
votes
0answers
8 views

CoreOS docker.service containers can't resolve domains

I have servers PXE booting to CoreOS with persistent state being written to disk. When I start docker containers on the host they work fine. And I have the docker.service set in the cloud-config to ...
0
votes
0answers
20 views

How to configure netflow on linux bridges(“docker0” Bridge)

I have Openstack setup which one of the compute node has docker and if I want to monitor the traffic, how to configure netflow on "docker0" bridge/Linux Bridge. I can see the bridge name and ID with ...
0
votes
0answers
15 views

Is mapping a docker volume to the host “bad” for production?

My main need: to be able to map a volume defined in a Dockerfile to a different physical storage tier (which is already a logical volume in the host). This volume is in /data in the host OS: # df -h ...
-1
votes
0answers
11 views

Link Docker containers running on different hosts?

I'm starting in container based archictectures with Docker and I have a doubt that maybe is a nonsense. Has it sense to link Docker containers that are running on different hosts? Say we have two ...
0
votes
1answer
45 views

How to decide between a docker volume container and a docker volume?

After reading the docs I found myself somewhat confused as to how best to manage productive application/service data. There seem to be 3 options: Simply map volume to host directory (i.e. -v ...
2
votes
1answer
55 views

Why does docker rm take almost 6 seconds to run?

I have a simple docker image based on ubuntu 15.10 that's just running bash. The image is around 1.2gb. It launches very quickly, but when I try to remove the container after it's exited, it always ...
0
votes
1answer
25 views

CoreOS persistant data storage ( creation + backup + restore )?

Im planning to move my whole server stack to coreOS and using docker. The problem is currently there seems to be no good solutions to create a persistant data storage , back it up and easily restore ...
1
vote
1answer
72 views

Error on AWS deploy

I'm working on a project that I haven't touched in about 4 months. Before everything on the deploy was working fine, but now I'm getting an error when trying to deploy an update eb deploy my-env-name. ...
0
votes
1answer
23 views

docker-compose: option to automaticaly remove container after run in docker-compose.yml

The docker-compose run reference states that it has the --rm option to Remove container after run. I want to make this a default run behavior for some of services I specify in ...
0
votes
0answers
16 views

Duplicate SYN package forwarded by Docker?

I'm experiencing a strange interaction between a CISCO firewall and my Docker host connected to it: the CISCO periodically marks my host as a SYN attacker and shuts my ethernet port down. I've been ...
0
votes
0answers
28 views

Continuos Delivery with Kubernetess and Docker

At our company we want to introduce Continuos Delivery flow. We gonna build it upon Kubernetess. As far I understand rolling update consist just in replacing containers. This impose that container ...
0
votes
1answer
43 views

remove tagged Docker image from private registry

How can I delete a mistakenly added tag from an image in a private Docker registry? The option -rmi doesn't seem to work for remote images in Docker 1.9.1. user@ubuntu-user:~$ docker --version ...