AliyunContainerService / docker-machine-driver-aliyunecs

Aliyun (Alibaba Cloud) ECS Driver of Docker Machine
Apache License 2.0
203 stars 49 forks source link

Failed to install the `aliyunecs` driver via `go install` #4

Closed twang2218 closed 8 years ago

twang2218 commented 8 years ago

Tried to follow the instruction on the README.md page, and got following error message:

ζ go install github.com/denverdino/docker-machine-driver-aliyunecs             
can't load package: package github.com/denverdino/docker-machine-driver-aliyunecs: cannot find package "github.com/denverdino/docker-machine-driver-aliyunecs" in any of:
    /usr/local/Cellar/go/1.6.2/libexec/src/github.com/denverdino/docker-machine-driver-aliyunecs (from $GOROOT)
    /Users/taowang/go/src/github.com/denverdino/docker-machine-driver-aliyunecs (from $GOPATH)

The golang has been installed via brew

brew install go --cross-compile-common

Version is:

ζ go version                                                                                                                           
go version go1.6.2 darwin/amd64

My docker version is 1.12.0-rc3

ζ docker info                                                                                                                          
Containers: 2
 Running: 1
 Paused: 0
 Stopped: 1
Images: 6
Server Version: 1.12.0-rc3
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 32
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.14-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.954 GiB
Name: moby
ID: 6HIO:G6JD:WSVD:M6WT:WNZQ:NQOA:KAU2:36FA:VZZT:E77D:ANAN:IAE7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 22
 Goroutines: 36
 System Time: 2016-07-11T13:13:20.55360628Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 127.0.0.0/8
denverdino commented 8 years ago

Good catch, it should be "go get" rather than "go install".

The README.md has been updated. Thanks