Tag: containers

Docker – Rollback data in MySQL container after recreating

“With docker images we can keep both the previous image and the new image on an instance at the same time. Since the previous images are still on the instance, rollbacks are just a matter of restarting the container pointing to the previous image.” Hi I’m new to Docker and am planning to use MySQL […]

Docker – see where things are installed, with dokku

I’m using docker with dokku. Trying to debug issue with https://github.com/leafo/heroku-buildpack-lua/. Is it possible to see and check content of docker container? vagrant@dokku:~$ dokku logs dokku.me -t /app/.profile.d/config_vars: line 3: /app/packages/lib/lua/5.1/?.so: No such file or directory /app/.profile.d/config_vars: line 4: /app/packages/share/lua/5.1/?.lua: No such file or directory /app/.profile.d/config_vars: line 4: /app/packages/share/lua/5.1/?/init.lua: No such file or directory lua: […]

Docker container delete from Jenkins hangs

I tried today to configure my nodes in Jenkins with with docker 1.3.1, and Jenkins docker plugin v0.8. The docker containers started successfully from jenkins but jenkins rejected them as the there were some echos in my bashrc. I deleted these nodes manually from Docker server. Now, I need to delete these nodes from jenkins […]

Jobs scheduling in Google Container Engine (Kubernetes)

I’m trying to create a Kubernetes scheduled job, however, I noticed that: On Kubernetes versions >= v1.4 it’s called ScheduledJob (http://janetkuo.github.io/docs/user-guide/scheduled-jobs/) On Kubernetes versions >= v1.5 it’s called *CronJob (http://kubernetes.io/docs/user-guide/cron-jobs/) The default Kubernetes version running on Google Container Engine is v1.4.6 which means I should use ScheduledJob objects. The problem is that ScheduledJob uses the […]

Howto assign second ip to docker container with ip:port:port

I have a problem with docker and searched a couple of hours but cannot find a suitable answer for it. Let me explain : I have a vps running CoreOS with 2 ip‘s on it. What i want is to assign one ip to container a and the other ip to container b using the […]

why IP of docker container changes after restart it?

It is default way that the IP of a docker container will change after restarting it. I am confused why this is suggested in designing docker. Is it more reasonable to retain the IP with a simple restart? This should be distinguished from creating a new container.

Jenkins and docker plugin: Problems to launch container

I have installed docker-plugin and configured it like in docker plugin instructions and used evarga/jenkins-slave image and custom images ( and tried with sshkeys and username&password credentials ) but i cannot run job. Connection test to docker cloud works but when i launch jenkins job it fails always like below. Building in workspace /var/lib/jenkins/workspace/docker_test ERROR: […]

“java.net.NoRouteToHostException: No route to host” between two Docker Containers

Note: Question is related to Bluemix docker support. I am trying to connect two different Docker Containers deployed in Bluemix. I am getting the exception: java.net.NoRouteToHostException: No route to host when I try such connection (Java EE app running on Liberty trying to access MySQL). I tried using both private and public IPs of MySQL […]

Managing mysql users in a Docker environment

My goal is to create the following: one nginx container as a single entry point which will load balance amongst N node containers (APIs). one MySQL container (ultimately I will run replicas as well, not sure if this is related the problem). many API containers that will connect to the mysql container Based on my […]

How to hide SSH key to the Docker image without leaving the trace?

If I add my private SSH key to my Docker image, how can I hide it without leaving the trace, so no one (except me) can access it?

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