Add note to describe podman as experimental

This commit is contained in:
Roy Lenferink 2023-01-16 19:00:24 +01:00
parent 5d91a9e0aa
commit 34b2e1270a
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ if sed --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo "BusyBox sed de
if command -v podman > /dev/null 2>&1; then
CONTAINER_ENGINE="podman"
echo -e "\e[32mFound Podman container engine.\e[0m"
echo -e "\e[31mNOTE: Support for Podman is experimental, consider this before deploying to production! \e[0m"
if [[ -n "${DOCKER_HOST}" ]] && [[ "${DOCKER_HOST}" == "unix://"* ]]; then
CONTAINER_SOCKET="${DOCKER_HOST/"unix://"/}"

View File

@ -229,6 +229,7 @@ if [[ -z "${MAILCOW_CONTAINER_ENGINE}" ]]; then
if command -v podman > /dev/null 2>&1; then
MAILCOW_CONTAINER_ENGINE="podman"
echo -e "\e[32mFound Podman container engine.\e[0m"
echo -e "\e[31mNOTE: Support for Podman is experimental, consider this before deploying to production! \e[0m"
if [[ -n "${DOCKER_HOST}" ]] && [[ "${DOCKER_HOST}" == "unix://"* ]]; then
CONTAINER_SOCKET="${DOCKER_HOST/"unix://"/}"