Hopefully fix inspect 2
This commit is contained in:
parent
a9fb18c7c0
commit
82e1ec69f4
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ function inspectpod() {
|
|||
Network: $(getLocalConfValue $(getValueByKey 'PODMAN_DIRECTORY')/${1} network.name)
|
||||
Status: $([[ -n $(podman container ls | grep $(getLocalConfValue $(getValueByKey 'PODMAN_DIRECTORY')/${1} container.name)) ]] && echo -e ${GREEN}Running${RESET} || echo -e ${RED}Stopped${RESET})
|
||||
Uptime: ${GREEN}$(podman container ls | grep ${1} | awk '{$1=$1};1' | cut -d' ' -f 7-8)${RESET}"
|
||||
}
|
||||
|
||||
##
|
||||
# description: starts the defined podman container
|
||||
|
|
Loading…
Reference in a new issue