Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install manually: "not enough arguments in call to cli.ContainerCreate" #13

Open
nicokosi opened this issue Jul 8, 2020 · 0 comments

Comments

@nicokosi
Copy link

nicokosi commented Jul 8, 2020

I cannot install previs "manually" as explained in the README:

$ go get -v github.com/PaulRosset/previs
github.com/PaulRosset/previs/api
# github.com/PaulRosset/previs/api
work/gocode/src/github.com/PaulRosset/previs/api/docker.go:93:50: not enough arguments in call to cli.ContainerCreate
	have ("golang.org/x/net/context".Context, *container.Config, *container.HostConfig, nil, string)
	want ("context".Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string)

Any clue? 😊

More info about my configuration:

$ docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:21:11 2020
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

$ go version
go version go1.14.4 darwin/amd64

Current commit is 3adcfcf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant