The way dependencies are handled seem to cause conflict.
The versions of github.com/docker/go-connections/nat used in the project and in the docker/docker packages seem to conflict.
$ go get github.com/metrue/fx
# github.com/metrue/fx/server/docker-api
go/src/github.com/metrue/fx/server/docker-api/api.go:61:15: cannot use "github.com/docker/go-connections/nat".PortSet literal (type "github.com/docker/go-connections/nat".PortSet) as type "github.com/docker/docker/vendor/github.com/docker/go-connections/nat".PortSet in field value
go/src/github.com/metrue/fx/server/docker-api/api.go:66:15: cannot use "github.com/docker/go-connections/nat".PortMap literal (type "github.com/docker/go-connections/nat".PortMap) as type "github.com/docker/docker/vendor/github.com/docker/go-connections/nat".PortMap in field value