Can't execute boot2docker command on TeamCity command line build step

I am trying to add docker commands on TeamCity build steps using the normal command line option. I have Windows environment so I have to use boot2docker. I can execute the command like: “C:\Program Files\Boot2Docker for Windows\boot2docker.exe” ssh docker images on Windows command line. It will return a list of my docker images. However, I’m […]

How to use the “Remote Systems” view in Eclipse to explore a Docker container file system?

The Eclipse Remote Systems view is a great tool to connect to VMs and explore their file systems, currently the following options are available: First I find out the container IP by running this command: docker inspect <container> | grep IPAddress | cut -d ‘”‘ -f 4 Once I have the IP, I launch the […]

Allowing WordPress to be hosted on a subfolder within an already existing site

We have a request from a client where we need to host a wordpress site within our website. By within, I mean that the site can’t sit in a subdomain, i.e, instead it needs to sit in its own route/subfolder, i.e. This is due to page ranking (apparently page rankings are penalised if […]

How to benefit of the docker image cache when cloning a git repo

I have a private git repository that I have to add to my docker image. For that I clone it locally in the same directory with the Dockerfile and then use the following docker command: ADD my_repo_clone /usr/src/ My repo has a version tag that I clone, v1. So the files that I clone are […]

Circular import error Docker Compose OSX VM linking two containers

I have several containers I’m running with Docker Compose. Two of them need to talk to each other, so I’ve linked them like this in docker-compose.yml: serviceone: links: – servicetwo servicetwo: links: – serviceone But, it throws an error saying “Circular import between x and y”. This post solves the issue for people who are […]

mocha.opts reference babelhook one directory up

have a mocha.opts file that does –require babelhook It seems that the babelhook needs to be in the same directory as the node_modules directory. so –myApp –node_modules –babelhook.js –tests –mocha.opts –mytest This works fine, however, what I need ( I’ll explain at the end if you care why ) is this structure –node_modules –myApp –babelhook.js […]

Issue while installing Mariadb on mcp8 through Docker

I am trying to install Mariadb on mcp8 through Docker. I have cloned Mariadb from GitHub using Then I changed the directory to server and configured using ./configure , followed with make and make install. This worked fine. But while running make test, the pcre_test failed with the following message: Test 3: Locale-specific features […]

Docker `docker pull` works only locally? [closed]

I just downloaded Docker and started with following command: docker pull ubuntu and get the following reply: Pulling repository ubuntu 2015/06/28 19:03:47 Get dial tcp: lookup on []:53: no such host Can anyone help me to solve this problem?

Docker recreates directories on host after reboot

I created some containers on my system (ubuntu 14.04) using docker-compose which mounted directories from the host into the containers. Now, every time I reboot the host, these directories are recreated, even though the containers do not longer exist (and I therefore deleted the directory). Example: I had a container for gitlab-ci in /var/docker/gitlab-ci/ Containing […]

Can't figure out how I have to build my Docker architecture

So currently I’m building an API in PHP as different (micro) services which runs on nginx. I’ve followed all the Docker fundamental video’s and went through the docs, but I still can’t figure out how to implement it. Do I need a server where I push my code to and deploy on the containers (with […]

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