Search code examples
node.jsamazon-web-servicesdockerremoteapi

I'm unable to connect Docker Remote API using nodejs hosted in AWS


I have created t1.micro instance in Amazon web-services(AWS), and installed docker.io. I executed following commend in SSH client "sudo docker -H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock -d &".

when I am trying to get all images : myipaddres:4243/images/json. I'am getting "This webpage is not available" page.


Solution

  • Finally I found https://github.com/crosbymichael/dockerui expose remote api on my host. :)