This commit is contained in:
Leon 2021-08-13 18:46:02 +08:00 committed by GitHub
parent 8c533e609d
commit e069f11fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,9 +159,9 @@ opt
read net
if [ "$net" = "1" ]; then
NETWORK="host"
CHANGE_NETWORK="--network $NETWORK"
CHANGE_NETWORK="--net $NETWORK"
else
CHANGE_NETWORK="--network $NETWORK"
CHANGE_NETWORK=""
fi
# 配置已经创建完成,开始执行
@ -238,4 +238,4 @@ log "5.薅薅乐使用说明https://github.com/ClassmateLin/jd_scripts#readme
warn "6.请手动执行一次更新脚本命令 docker exec -it $CONTAINER_NAME /bin/docker-entrypoint"
log "结束后可点一下终端界面,然后按 Ctrl+C 退出\nenjoy!!!"
log "结束后可点一下终端界面,然后按 Ctrl+C 退出\nenjoy!!!"