Skip to content

Instantly share code, notes, and snippets.

@roberto68
Created November 1, 2016 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roberto68/6ac1a049f843a843e49dcde557eb1acd to your computer and use it in GitHub Desktop.
Save roberto68/6ac1a049f843a843e49dcde557eb1acd to your computer and use it in GitHub Desktop.
So here's my configuration of docker image
@roberto68
Copy link
Author

roberto68 commented Nov 1, 2016

docker inspect --format '{{ .NetworkSettings.IPAddress }}' synereo-node-01 172.17.0.2
I just followed the instructions at dockernode repo
docker ps gives this
docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 09c708385ce7 synereo-node "supervisord --nodaem" 13 minutes ago Up 13 minutes 80/tcp, 443/tcp, 5671-5672/tcp, 8567/tcp, 9000/tcp, 9678/tcp, 15671-15672/tcp, 27017/tcp, 0.0.0.0:443->9876/tcp synereo-node-01
and curl gives
roberto-Lenovo-G500s:~/synereo$ curl 172.17.0.2:443 curl: (7) Failed to connect to 172.17.0.2 port 443: Connection refused roberto@roberto-Lenovo-G500s:~/synereo$ curl 172.17.0.2:9876 curl: (56) Recv failure: Connection reset by peer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment