docker / libcompose

*Unmaintained/Deprecated* An experimental go library providing Compose-like functionality
https://godoc.org/github.com/docker/libcompose
Apache License 2.0
585 stars 191 forks source link

libcompose build broken #524

Closed prashanthjbabu closed 5 years ago

prashanthjbabu commented 5 years ago

It seems like libcompose is broken after the recent commits.


prash@prash-laptop:/tmp/lc$ go build
# github.com/docker/libcompose/docker/container
/home/prash/go/src/github.com/docker/libcompose/docker/container/container.go:349:54: cannot use "github.com/docker/go-connections/nat".Port(port) (type "github.com/docker/go-connections/nat".Port) as type "github.com/docker/docker/vendor/github.com/docker/go-connections/nat".Port in map index
``

@vdemeester 
ldez commented 5 years ago

Hello,

The last commit add the support of Go modules, then now you have to use at least go1.11 and active go modules export GO111MODULE=on

prashanthjbabu commented 5 years ago

Got it ! Thanks a lot for your response . I'll close this issue!