Browse Source

always prepend localhost to image name to make sure we are using local images

feature/rootless-podman
Mar Alegre 4 years ago
parent
commit
d343e90fac
  1. 4
      .install/bin/pdm-launch

4
.install/bin/pdm-launch

@ -46,7 +46,7 @@ shift $((OPTIND -1))
if [[ $# -lt 1 ]]; then if [[ $# -lt 1 ]]; then
badarg "Missing image name" badarg "Missing image name"
else else
image="$1" image="localhost/$1"
fi fi
if [[ $# -gt 2 ]]; then if [[ $# -gt 2 ]]; then
@ -56,7 +56,7 @@ fi
if [[ $# -eq 2 ]]; then if [[ $# -eq 2 ]]; then
container="$2" container="$2"
else else
container="$image" container="$1"
fi fi
# Main # Main

Loading…
Cancel
Save