From 4f68f6d7155473221ca193d7e33e0477100ba048 Mon Sep 17 00:00:00 2001 From: Andrew Meredith Date: Thu, 2 Sep 2021 15:43:17 -0600 Subject: [PATCH] Update spec to use colon-separated There were two references to strings that are "comma-separated", but the docs continue to describe the delimiter as actually being a colon. This updates the prose to reference the correct punctuation mark. Signed-off-by: Andrew Meredith --- spec.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.md b/spec.md index 4932e287..aa02a8c2 100644 --- a/spec.md +++ b/spec.md @@ -1448,7 +1448,7 @@ Port mapping MUST NOT be used with `network_mode: host` and doing so MUST result #### Short syntax -The short syntax is a comma-separated string to set host IP, host port and container port +The short syntax is a colon-separated string to set host IP, host port and container port in the form: `[HOST:]CONTAINER[/PROTOCOL]` where: @@ -1788,7 +1788,7 @@ volumes: #### Short syntax -The short syntax uses a single string with comma-separated values to specify a volume mount +The short syntax uses a single string with colon-separated values to specify a volume mount (`VOLUME:CONTAINER_PATH`), or an access mode (`VOLUME:CONTAINER:ACCESS_MODE`). `VOLUME` MAY be either a host path on the platform hosting containers (bind mount) or a volume name.