How to connect a mesos-slave (docker) to a mesos-master (vagrant)

Both vagrant and docker are running on my laptop. I have created an issue on github @, but dont think my problem has been solved. Can someone please help me fix this ? Here are the applicable logs : Mesos-Master@Vagrant vagrant@mesos:~$ head -n 50 /var/log/mesos/mesos-master.INFO Log file created at: 2015/09/03 12:01:10 Running on machine: […]

Jenkins + Docker – How To Deal With Versions

I’ve got Jenkins set up to do 2 things in 2 separate jobs: Build an executable jar and push to Ivy repo Build a docker image, pulling in the jar from the Ivy repo, and push image to a private docker registry During step 1 the jar will have some version which will be appended […]

Delete a recreate a docker container using the same volume

I have a redis docker container (ran using –appendonly yes). When I delete the container and start a new one, it does not use the same volume. How can I manage to start a new redis container with the previous volume from the defunct container?

Dockerfile privileged flag for Docker container (Needed because of Apache error ulimit ) AWS

I would like to start a container with privileges. Manually I can do that directly by typing: sudo docker run -privileged name/image But how can I generated a container from a Dockerfile with privileges, is there any command to do that in the dockerfile? In my case I am doing a deployment in amazon, in […]

Error :Could not connect to Redis at redis:6379: Name or service not known

I am trying to execute the container named redis which is running right now.But the error Could not connect to Redis at redis:6379: Name or service not known. Any one please hell me to figure out the issue and fix it.

Cannot push to artifactory docker cloud repository

I have an artifactory cloud account, and it is supposed to support docker repositories, I have set up an nginx proxy and everything looks ok, but I get a problem when pushing docker reports a 405 error, what I’ve seen is that it doesn’t support the PUT method. Here are the command and response: docker […]

Docker container link for mysql to redmine fails with timeout “waiting for database server to accept connections”

I’m trying to get my redmine site up and running again. For which we have two docker containers. one contains the database mysql, and the other the website – Redmine. mysql should be start first nohup docker run –name mysql -v /opt/mysql/data:/var/lib/mysql -p 3306:3306 7e0828bb2e6e & [1] 27673 root@atd-ciso:/# docker ps CONTAINER ID IMAGE COMMAND […]

docker restart on cascade

We’ve found that, if you have two containers linked, and network connections established between them, if the receiving container is restarted, the other one maintain the connections alive, resulting in failures. Our question is: Is it possible to restart containers in cascade? eg: Container_A -link-> Container_B Container_B is restarted Container_A is restarted in cascade because […]

Automatic build with Add from URL

I’m trying to do a auto build on using a ADD with files from a URL. I have the following docker file on github, builds are being triggered: FROM ubuntu:14.04 MAINTAINER Andy Cobley “” ENV REFRESHED_AT 2015-29-04 RUN apt-get update RUN apt-get install -y nginx RUN mkdir -p /var/www/html ADD /etc/nginx/conf.d/ ADD […]

docker exec does not open bash

[root@localhost byo-atomic]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6c2b1159671e root/atomicrepo:latest “/” 21 minutes ago Up 21 minutes 80/tcp,>8000/tcp atomicrepo [root@localhost byo-atomic]# docker exec -it atomicrepo bash [root@localhost byo-atomic]# docker logs atomicrepo Passing arguments to httpd using apachectl is no longer supported. You can only start/stop/restart httpd using this script. If […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.