Can't access pod logs

I am trying to access the logs of a pod in a kubernetes cluster but get a 404 on sending the following rest request: GET api/namespaces/myNamespace/pods/myPod/log When I try to see the status of the pod I get the following: “metadata”: { “name”: “podtest”, “generateName”: “podtest-“, “namespace”: “podtest01734160-58f9-4042-8f38-3e55d7d5beb3”, “selfLink”: “/api/v1/namespaces/podtest01734160-58f9-4042-8f38-3e55d7d5beb3/pods/podtest-rc-no-env-hc5rl”, “uid”: “dba5c41f-8307-11e5-96f2-005056976c6f”, “resourceVersion”: “3595515”, “creationTimestamp”: […]

Docker Continuous Integration using TeamCity

Is there a way that I could do CI using TeamCity and Docker? What I have so far is a Dockerfile that would install TeamCity and configure build agent on a base ubuntu image. What I want is to have TeamCity call a DockerFile on every commit to SVN or GIT. This DockerFile would actually […]

RUnit does not stop docker-compose's containers

I would like to have a RUnit service to supervise a set of containers launched by docker-compose tool, here’s my the runit script: In /etc/sv/app/run #!/bin/bash exec 2>&1 APP_HOME=/home/myapp source $APP_HOME/ exec docker-compose -f $APP_HOME/docker-compose.yml up Here’s what I have then: sv start app – launches the docker-compose thing just fine sv stop app – […]

Unable to install packages using Docker on Mac

This morning I’ve started playing with Docker, so installed boot2docker on my Mac. All seemed to be going well, following the Working with Docker Images documentation until I tried to create a Dockerfile to install the ruby gems. I spent a long time banging my head against the wall as to why it couldn’t connect […]

Trying to setup lamp and wordpress on kitematic for docker

I am using the following github repositoryies to setup images on kitematic for docker. I have them both installed as imags. The docker-lamp gives me a hello world cant connect to local mysql server, and the wordpress just doesnt work at all. Here are the logs from each in order lamp logs […]

node can't find modules that exists in parent node_modules folder

I am using node 0.12.0 with express and created a Docker image. This is my directory structure: -server/ -config/ -config.js -app.js -package.json -node-modules/ -deep-extend/ -… -… -… My package.json looks like: { “name”: “test”, “version”: “2.0.0”, “private”: true, “dependencies”: { … … “deep-extend”: “^0.3.2”, … … } } and config/config.js looks like: var deepExtend = […]

Whats exactly mean by build, ship and run any app, anywhere with Docker

Docker says “it possible to build, ship and run any app, anywhere” Dokerising the app looks promising solution to ship and run any app, anywhere with less pain. But how its going to help us in building a application?

ERROR: undefined method `closed?' for nil:NilClass

I have workstation and chef server on different machine and docker running on other machine.When i bootstrap from workstation to run chef-client inside docker container. it give me error as after installing chef client on docker Conatiner. knife bootstrap -p 49153 -x root -P hyl4fL3X7OaH -r role[role_apache] Starting Chef Client, version 11.18.6 […]

INFO: I/O exception ( caught when processing request to {}->unix://localhost:80: Permission denied

when try to build a Docker image of a jhipster application on Ubuntu. got error: INFO: Retrying request to {}->unix://localhost:80 Jan 12, 2017 11:45:49 AM org.apache.http.impl.execchain.RetryExec execute INFO: I/O exception ( caught when processing request to {}->unix://localhost:80: Permission denied Jan 12, 2017 11:45:49 AM org.apache.http.impl.execchain.RetryExec execute INFO: Retrying request to {}->unix://localhost:80 [INFO] ———————————————————————— [INFO] BUILD […]

Cannot start mysql or mysqld_safe on ubuntu

My Ubuntu runs in docker and I need to use Percona, however, the mysqld cannot be started. I have been trying to fix this for 2 days. I don’t think it’s a permission issue, but I am not sure if any of my configuration is incorrect. The following is my Ubuntu version, and it runs […]

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