mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f919a26a9f
This fix tries to fix the incorrect request json body for `/containers/create` in remote API docs. When using the example json request for `/containers/create`, there are two errors: (1). `invalid character '"' after object key:value pair` This is because a `,` is missing after `"Volumes": {}` This issue exists in v1.20-v1.24 (2). `Invalid --security-opt: ""` This is becasue in `"SecurityOpt": [""]` line, an empty string `""` is passed yet `""` is not a valid `SecurityOpt`. Either no string, or a valid string (e.g., "no-new-privileges") could be used. This issue exists in v1.15-v1.24 This fix updates the docs and correct the above two issues. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> |
||
---|---|---|
.. | ||
api | ||
commandline | ||
builder.md | ||
glossary.md | ||
index.md | ||
run.md |