linuxtool/Config/Docker/test.sh

6 lines
96 B
Bash
Raw Permalink Normal View History

2024-09-26 09:48:31 +08:00
#!/bin/bash
if ! command -v docker &> /dev/null; then
echo "Docker 未安装"
2024-09-26 09:48:31 +08:00
exit 1
fi