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
badarg "Missing image name"
else
image="$1"
image="localhost/$1"
fi
if [[ $# -gt 2 ]]; then
@ -56,7 +56,7 @@ fi
if [[ $# -eq 2 ]]; then
container="$2"
else
container="$image"
container="$1"
fi
# Main

Loading…
Cancel
Save