Add note to describe podman as experimental
This commit is contained in:
parent
5d91a9e0aa
commit
34b2e1270a
|
@ -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
|
if command -v podman > /dev/null 2>&1; then
|
||||||
CONTAINER_ENGINE="podman"
|
CONTAINER_ENGINE="podman"
|
||||||
echo -e "\e[32mFound Podman container engine.\e[0m"
|
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
|
if [[ -n "${DOCKER_HOST}" ]] && [[ "${DOCKER_HOST}" == "unix://"* ]]; then
|
||||||
CONTAINER_SOCKET="${DOCKER_HOST/"unix://"/}"
|
CONTAINER_SOCKET="${DOCKER_HOST/"unix://"/}"
|
||||||
|
|
|
@ -229,6 +229,7 @@ if [[ -z "${MAILCOW_CONTAINER_ENGINE}" ]]; then
|
||||||
if command -v podman > /dev/null 2>&1; then
|
if command -v podman > /dev/null 2>&1; then
|
||||||
MAILCOW_CONTAINER_ENGINE="podman"
|
MAILCOW_CONTAINER_ENGINE="podman"
|
||||||
echo -e "\e[32mFound Podman container engine.\e[0m"
|
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
|
if [[ -n "${DOCKER_HOST}" ]] && [[ "${DOCKER_HOST}" == "unix://"* ]]; then
|
||||||
CONTAINER_SOCKET="${DOCKER_HOST/"unix://"/}"
|
CONTAINER_SOCKET="${DOCKER_HOST/"unix://"/}"
|
||||||
|
|
Loading…
Reference in New Issue