Skip to content

Instantly share code, notes, and snippets.

@jacobat
Created June 23, 2013 12:37
Show Gist options
  • Save jacobat/5844904 to your computer and use it in GitHub Desktop.
Save jacobat/5844904 to your computer and use it in GitHub Desktop.
vagrant@precise64:~$ docker ps
ID IMAGE COMMAND CREATED STATUS PORTS
274ebe0573de sinatrademo:latest /bin/bash 3 minutes ago Up 3 minutes 49158->4567
vagrant@precise64:~$ wget localhost:49158
--2013-06-23 12:36:41-- http://localhost:49158/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:49158... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
root@9e6d6d40c3ae:/# wget -q -O- localhost:4567/hi
Hello World!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment