From 6d52ebdd13ad052bbf8bfa9efa4e45cafbce1fc2 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Sun, 3 Jun 2018 14:05:54 -0400 Subject: Add flag to add annotations to a container Also add annotations from the image the container was created from. Signed-off-by: Matthew Heon Closes: #886 Approved by: rhatdan --- docs/podman-create.1.md | 4 ++++ docs/podman-run.1.md | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md index be861cfbe..79d8c1d2c 100644 --- a/docs/podman-create.1.md +++ b/docs/podman-create.1.md @@ -23,6 +23,10 @@ The initial status of the container created with **podman create** is 'created'. Add a line to /etc/hosts. The format is hostname:ip. The **--add-host** option can be set multiple times. +**--annotation**=[] + Add an annotation to the container. The format is key=value. +The **--annotation** option can be set multiple times. + **-a**, **--attach**=[] Attach to STDIN, STDOUT or STDERR. diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index 918c27ccf..ed6589f26 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -35,6 +35,10 @@ is located at `/run/.containerenv`. Add a line to /etc/hosts. The format is hostname:ip. The **--add-host** option can be set multiple times. +**--annotation**=[] + Add an annotation to the container. The format is key=value. +The **--annotation** option can be set multiple times. + **-a**, **--attach**=[] Attach to STDIN, STDOUT or STDERR. -- cgit v1.2.3-54-g00ecf