1
0

podman run: provide TERM to container

This commit is contained in:
Konstantin Demin 2021-10-29 22:35:35 +03:00
parent 7f0793da39
commit e1ac7abd92
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6

View File

@ -1,4 +1,4 @@
#!/bin/zsh
run() { command podman run --network host --rm -it "$@" ; }
run() { command podman run ${TERM:+-e "TERM=$TERM"} --network host --rm -it "$@" ; }
run-sh() { run --entrypoint='["/bin/sh"]' --user=0:0 "$@" ; }