This commit is contained in:
Leon 2021-08-05 09:40:29 +08:00 committed by GitHub
parent 50ced510b5
commit bb5efdce7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,8 +168,8 @@ inp "请选择容器的网络类型:\n1) host[默认]\n2) bridge"
echo -n -e "\e[36m输入您的选择->\e[0m"
read net
if [ "$net" = "2" ]; then
NET="bridge"
CHANGE_NETWORK="--network $NET"
NETWORK="bridge"
CHANGE_NETWORK="--network $NETWORK"
fi
inp "是否在启动容器时自动启动挂机程序:\n1) 开启[默认]\n2) 关闭"