docker remote api

If you want to use docker remote api to visit docker on your host machine, you should edit this file: 
/etc/init/docker.conf or /etc/default/docker and update the DOCKER_OPTS variable to the following:
DOCKER_OPTS = '-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock'
then restart the docker process:
service docker restart

now there are also some bugs :
1. all containers can be started except msopentech/flask
2. Connection reset by peer error ....