mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 21:23:54 +08:00
docker version has no .Server.Engine field, so the previous check never matched. Read .Server.Platform.Name instead and run detection even when DOCKER_HOST is explicit, so the unverified-Podman warning also fires for the common compat-socket setup. Docker Desktop publishes /var/run/docker.sock as a symlink, so stop refusing symlinked sockets; test -S follows them and find -L checks the target's mode.