sh.zio.pod-exec: add script
This commit is contained in:
parent
6e25c52f48
commit
406f791c89
3 changed files with 11 additions and 1 deletions
|
@ -34,7 +34,7 @@ function get_real_path() {
|
|||
function podman_exec() {
|
||||
container="$1"
|
||||
command="${@:2}"
|
||||
shell="/bin/sh"
|
||||
shell="/bin/sh" # TODO: Programatically get this
|
||||
podman exec -it $container $shell -c "$command"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue