From 8ec6910fb8386a6c9a70aeef85f3b1fa3b7279d2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 29 Apr 2022 19:52:46 +0200 Subject: T2216: containers need to be added via "add container image" in advance before using them --- op-mode-definitions/containers.xml.in | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) (limited to 'op-mode-definitions/containers.xml.in') diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in index d4fd1abac..925d147fa 100644 --- a/op-mode-definitions/containers.xml.in +++ b/op-mode-definitions/containers.xml.in @@ -50,6 +50,63 @@ + + + + + Generate Container Image + + + + + Name of container image (tag) + + + + + Path to Dockerfile + + <filename> + + + sudo podman build --layers --force-rm --tag "$4" $6 + + + + + + + + + + + + + + Monitor last lines of container logs + + container name + + + sudo podman logs --follow --names "$4" + + + + + + + + Show logs from a given container + + container name + + + sudo podman logs --names "$4" + + + + + -- cgit v1.2.3