Merge pull request #12706 from aofdev/patch-2

Update examples.md (Add parameter platform value is nil)
This commit is contained in:
Sebastiaan van Stijn 2021-04-23 16:27:34 +02:00 committed by GitHub
commit c88e4718cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ func main() {
resp, err := cli.ContainerCreate(ctx, &container.Config{
Image: imageName,
}, nil, nil, "")
}, nil, nil, nil, "")
if err != nil {
panic(err)
}
@ -732,7 +732,7 @@ func main() {
createResp, err := cli.ContainerCreate(ctx, &container.Config{
Image: "alpine",
Cmd: []string{"touch", "/helloworld"},
}, nil, nil, "")
}, nil, nil, nil, "")
if err != nil {
panic(err)
}