Created
August 19, 2014 15:34
-
-
Save psftw/be77ea51fd6b5ab459f6 to your computer and use it in GitHub Desktop.
lestrade attempt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@li425-75:~/lestrade# docker images | |
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE | |
lestrade latest bbc07e775faa About a minute ago 428.1 MB | |
golang 1.3 1ad4daaf0aa1 4 days ago 413.7 MB | |
root@li425-75:~/lestrade# docker run -v /var/lib/docker:/docker -v /var/run/docker.sock:/var/run/docker.sock lestrade | |
2014/08/19 15:29:38 Creating introspection server for a44ff0e446725c5692092b338fb95669e9a60111ce2384eb79c1960b0ee43083 | |
^C2014/08/19 15:29:43 received signal 'interrupt', exiting | |
root@li425-75:~/lestrade# docker run -d -v /var/lib/docker:/docker -v /var/run/docker.sock:/var/run/docker.sock lestrade | |
9abfe520900c0d68106aff65a8754e28ce209ba6f1d4c3911d9f32f3df376169 | |
root@li425-75:~/lestrade# docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
9abfe520900c lestrade:latest /go/src/github.com/c 2 seconds ago Up 1 seconds compassionate_hypatia | |
root@li425-75:~/lestrade# docker run -it debian:jessie /bin/bash | |
... snip ... | |
root@96c8503a2a39:/# socat TCP-LISTEN:80,fork,reuseaddr unix:/lestrade.sock &> test.log & | |
[1] 3042 | |
root@96c8503a2a39:/# curl localhost/inspect | |
curl: (52) Empty reply from server | |
root@96c8503a2a39:/# cat test.log | |
2014/08/19 15:33:49 socat[3045] E connect(3, AF=1 "/lestrade.sock", 16): No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment