Skip to content

Instantly share code, notes, and snippets.

@ric03uec
Created September 25, 2014 18:08
Show Gist options
  • Save ric03uec/999f82756285d6657991 to your computer and use it in GitHub Desktop.
Save ric03uec/999f82756285d6657991 to your computer and use it in GitHub Desktop.
libswarm local test(failed)
// cloned libswarm
// installed using: cd path/to/libswarm/ && make deps && go install github.com/ric03uec/libswarm/swarmd
// swarmd then present in $GOPATH/bin/
$ docker -H localhost:4243 ps
d@crossbow:~/workspace/go/src/github.com/ric03uec/libswarm$ swarmd 'dockerserver' 'dockerclient tcp://localhost:4243'
copying task output from &libswarm.receiverWrapper{Receiver:(*libchan.PipeReceiver)(0xc20804a180)} to &libswarm.senderWrapper{Sender:(*libchan.PipeSender)(0xc20804a1b8)}
Starting Docker server...
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
Calling GET /containers/json
2014/09/25 18:01:35 http: Accept error: accept tcp 127.0.0.1:4243: too many open files; retrying in 5ms
Calling GET /containers/json
Error: get: Get http://dummy.host/v1.11/containers/json: dial tcp: lookup localhost: no such hostError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON inputError: readlist: unexpected end of JSON input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment