1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference
Yong Tang cbd50baf8b Fix incorrect request json body for /containers/create in remote API docs.
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>
(cherry picked from commit f919a26a9f)
2016-04-11 11:19:55 -04:00
..
api Fix incorrect request json body for /containers/create in remote API docs. 2016-04-11 11:19:55 -04:00
commandline Fix the docker image --no-trunk output format 2016-04-11 11:19:40 -04:00
builder.md make the cache miss clear 2016-04-06 18:15:39 -04:00
glossary.md Update links to Docker Hub 2016-03-04 15:48:52 +01:00
index.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
run.md Fix deprecated format for security-opt 2016-04-11 11:19:40 -04:00