crosbymichael / dsh

the shell for the 2000nds
3 stars 3 forks source link

Get /v1.10/containers/json?all=0: unsupported protocol scheme "" #4

Open SvenDowideit opened 10 years ago

SvenDowideit commented 10 years ago
dsh(master) $ go run dsh.go 
dsh.go:15:2: cannot find package "github.com/samalba/dockerclient" in any of:
    /usr/lib/go/src/pkg/github.com/samalba/dockerclient (from $GOROOT)
    /home/sven/usr/lib/go/src/github.com/samalba/dockerclient (from $GOPATH)
dsh(master) $ go get github.com/samalba/dockerclient
dsh(master) $ go run dsh.go 
the shell for the 2000nds
> ls
2014/07/26 11:01:25 Get /v1.10/images/json: unsupported protocol scheme ""
exit status 1
dsh(master) $ go run dsh.go 
the shell for the 2000nds
> ps
2014/07/26 11:01:33 Get /v1.10/containers/json?all=0: unsupported protocol scheme ""
exit status 1
dsh(master) $ docker version
Client version: 1.1.2
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): d84a070
Server version: 1.1.2
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): d84a070
crosbymichael commented 10 years ago

What does your DOCKER_HOST env var say?