From f8af5bca99757fa7cee8da2631dfc89c1fb77e83 Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Wed, 10 May 2017 14:17:29 +0800 Subject: [PATCH] config.md: small fixes double quotes are not necessary when setting env value and other sentences fix Signed-off-by: Ma Shimiao --- config.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.md b/config.md index d70efca11..40f311258 100644 --- a/config.md +++ b/config.md @@ -132,24 +132,24 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a - **Env** *array of strings*, OPTIONAL - Entries are in the format of `VARNAME="var value"`. + Entries are in the format of `VARNAME=VARVALUE`. These values act as defaults and are merged with any specified when creating a container. - **Entrypoint** *array of strings*, OPTIONAL A list of arguments to use as the command to execute when the container starts. - This value acts as a default and is replaced by an entrypoint specified when creating a container. + These values act as default and are replaced by an entrypoint specified when creating a container. - **Cmd** *array of strings*, OPTIONAL Default arguments to the entrypoint of the container. - These values act as defaults and are replaced with any specified when creating a container. + These values act as defaults and are replaced by any specified when creating a container. If an `Entrypoint` value is not specified, then the first entry of the `Cmd` array SHOULD be interpreted as the executable to run. - **Volumes** *object*, OPTIONAL A set of directories which SHOULD be created as data volumes in a container running this image. - If a file or folder exists within the image with the same path as a data volume, that file or folder is replaced with the data volume and is never merged. + If a file or folder exists within the image with the same path as a data volume, that file or folder is replaced by the data volume and is never merged. **NOTE:** This JSON structure value is unusual because it is a direct JSON serialization of the Go type `map[string]struct{}` and is represented in JSON as an object mapping its keys to an empty object. - **WorkingDir** *string*, OPTIONAL