mirror of https://github.com/docker/docs.git
Merge pull request #10887 from carthurs/master
Basic go example was not working with v1.41
This commit is contained in:
commit
9b6fff076e
|
@ -66,8 +66,8 @@ func main() {
|
|||
resp, err := cli.ContainerCreate(ctx, &container.Config{
|
||||
Image: "alpine",
|
||||
Cmd: []string{"echo", "hello world"},
|
||||
Tty: true,
|
||||
}, nil, nil, "")
|
||||
Tty: false,
|
||||
}, nil, nil, nil, "")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue