linuxtool/Config/Docker/test.sh

6 lines
95 B
Bash
Raw Normal View History

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