diff --git a/algo-showenv.sh b/algo-showenv.sh index 41a6ff0..4793be9 100755 --- a/algo-showenv.sh +++ b/algo-showenv.sh @@ -46,6 +46,8 @@ if [[ -x $(command -v systemd-detect-virt) ]]; then if [[ ${DETECT_VIRT} != "none" ]]; then VIRTUALIZED=" (Virtualized: ${DETECT_VIRT})" fi +elif [[ -f /.dockerenv ]]; then + VIRTUALIZED=" (Virtualized: docker)" fi echo "Algo running on: ${OS}${VIRTUALIZED}"