mirror of https://github.com/docker/docs.git
Merge pull request #12706 from aofdev/patch-2
Update examples.md (Add parameter platform value is nil)
This commit is contained in:
commit
c88e4718cf
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue