webapp-deployment-status-api/docker-wrapper.sh

16 lines
236 B
Bash
Raw Normal View History

#!/bin/bash
set -e
PODMAN_BIN="/usr/bin/podman"
DOCKER_BIN="/usr/local/bin/docker-static"
if [[ "$1" == "manifest" ]]; then
$DOCKER_BIN $*
elif [[ "$1" == "login" ]]; then
$DOCKER_BIN $*
$PODMAN_BIN $*
else
$PODMAN_BIN $*
fi