Adapt CI command scripts to also support podman

This commit is contained in:
Will Rouesnel
2023-05-29 16:40:07 +10:00
parent 6cf91a2e70
commit f3c740954b
7 changed files with 45 additions and 18 deletions

View File

@@ -18,10 +18,10 @@ if hash docker-compose 2>/dev/null; then
if [ "$1" == "-f" ]; then
echo -e "${BLUE} ${YELLOW}Following Backend Container:${RESET}"
docker logs -f npm_core
$docker logs -f npm_core
else
echo -e "${YELLOW}Hint:${RESET} You can follow the output of some of the containers with:"
echo " docker logs -f npm_core"
echo " $docker logs -f npm_core"
fi
else
echo -e "${RED} docker-compose command is not available${RESET}"