diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-22 20:51:34 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-22 20:51:34 +0200 |
commit | 1b0d7b9e027672a95535d18e550919aff7e41ee3 (patch) | |
tree | 1427703bcfb3c66c81cf035d9f082997b36dd646 | |
parent | 68567d60626aa7ee5f990af792eb63f6887d93de (diff) | |
download | vyos-1x-1b0d7b9e027672a95535d18e550919aff7e41ee3.tar.gz vyos-1x-1b0d7b9e027672a95535d18e550919aff7e41ee3.zip |
log
-rw-r--r-- | op-mode-definitions/containers.xml.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in index 8cc30d3a8..1ed569407 100644 --- a/op-mode-definitions/containers.xml.in +++ b/op-mode-definitions/containers.xml.in @@ -61,6 +61,15 @@ </properties> <command>sudo ${vyos_op_scripts_dir}/containers_op.py --image</command> </leafNode> + <tagNode name="log"> + <properties> + <help>Show logs from a given container</help> + <completionHelp> + <path>container name</path> + </completionHelp> + </properties> + <command>sudo podman logs --names "$4"</command> + </tagNode> <leafNode name="network"> <properties> <help>Show available container networks</help> |