“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 […]
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: […]
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 […]
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 […]
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 […]
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.
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: […]
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 […]
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 […]
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?