Issues with docker 1.2

I’m trying to use docker version 1.2 and I’m having issues with it. When I restart the service it says running but when I run docker images (even with sudo) it gives me this error. Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host? I have added this export to my […]

How to scp a folder from windows to boot2docker?

My Windows hostname is xxxxr and domain name is I have a shared compute service whose domain is and ip is a.b.c.d I logged into the scs as xxxxr scp -r When i execute this command through putty. I get ssh: connection timed out. Any suggestionds?

Docker Rest Apis using node.js

How to run the docker rest apis in the localhost environment using node.js. I need to know the port settings and the urls which will be used on it etc.

What is the best way to limit the IP addresses which can be access from within a docker container?

I have an answer which will limit docker containers to only be able to access a single IP address outside the host. Using this iptables rule on the host: # iptables -I FORWARD -i docker0 ! -d -j DROP means that from inside any docker containers it is only possible to access the IP […]

can't run fig up it always gets killed

This is a painful error as it takes a long time to get to this point and there is no visibility into what went wrong. Does anybody have suggests on locating the cause of this crash? Logs? I assume downloading the parent container is the main bottleneck. Can I short circuit this so that subsequent […]

Dart lang app with open stack / docker / vagrant

I’m newbie for these techs (open stack / docker / vagrant), not sure if I understood them correctly (most likely did not), for me I understood it is something like having a portable application to run it with same development configuration to ensure all the development team have same setup, but did not understand, what […]

Why this SSH command on Nexpect does not work?

I am trying to run and get information about docker containers from inside a docker container, to do this I am using Nexpect, but I found a strange error: exports.getIP = function(username, callback){ var nexpect = require(‘nexpect’); nexpect.spawn(“ssh core@ \”docker inspect –format ‘{{ .NetworkSettings.IPAddress }}’ ” + username + “\””) .expect(” “) .run(function (err, stdout, […]

Cannot create mongodb image on Docker

I’m trying to create mongodb container in Docker. First, create ubuntu container in interactive mode. $ sudo docker run -i -t ubuntu:12.04 /bin/bash And install mongodb $ export $ export $ echo ‘deb dist 10gen’ | tee /etc/apt/sources.list.d/10gen.list $ apt-key adv –keyserver hkp:// –recv 7F0CEB10 $ apt-get update … Get:27 precise-security/universe […]

Rename file in docker container

I’m having a weird Error when i try to run a simple script on docker container on redhat machine, this is the Docker file From tomcat:7.0.70-jre7 ENV CLIENTNAME geocontact ADD tomcat-users.xml /usr/local/tomcat/conf/ ADD app.war /usr/local/tomcat/webapps/ COPY / ENTRYPOINT [“/”] and is the script that cause the problem “only on redhat” #!/bin/bash set -e […]

error: database is uninitialized and MYSQL_ROOT_PASSWORD not set

ubuntu +docker+ mysql I fail to start it. root@i-3c1mg35c:/# docker run -d –volumes-from qiankrbase -p 3307:3307 mysql:latest 60474b1b427befe5001a5ecb6f62f40c0a8705064e20fbca18e72975cd994658 root@i-3c1mg35c:/# docker logs 60474b1b427befe5001a5ecb6f62f40c0a8705064e20fbca18e72975cd994658 error: database is uninitialized and MYSQL_ROOT_PASSWORD not set Did you forget to add -e MYSQL_ROOT_PASSWORD=… ? How I can initialize my MySQL in docker and use it in my ubuntu server. I fail […]

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