Add parameter platform value is nil

This commit is contained in:
Visarut Phusua 2021-04-20 00:39:49 +07:00 committed by GitHub
parent 30d2bd1e87
commit ce3c977b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func main() {
resp, err := cli.ContainerCreate(ctx, &container.Config{ resp, err := cli.ContainerCreate(ctx, &container.Config{
Image: "alpine", Image: "alpine",
Cmd: []string{"echo", "hello world"}, Cmd: []string{"echo", "hello world"},
}, nil, nil, "") }, nil, nil, nil, "")
if err != nil { if err != nil {
panic(err) panic(err)
} }