更新 docker.sh

This commit is contained in:
lc
2025-09-08 07:38:30 +00:00
parent ffca8c5482
commit c0693cf499

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# 检查是否为root用户
# 检查是否为root用户44
if [ "$(id -u)" -ne 0 ]; then
echo "请使用root用户或通过sudo运行此脚本"
exit 1