Update docker.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent fd6f02c8df
commit e877866146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker.sh

@ -151,6 +151,7 @@ container_build(){
# 安装 docker,拉取镜像 + 创建容器
! systemctl is-active docker >/dev/null 2>&1 && green " \n Install docker \n " && curl -sSL get.docker.com | sh
! systemctl is-active docker >/dev/null 2>&1 && ( systemctl enable --now docker; sleep 2 )
docker run -dit --restart=always --name wgcf --sysctl net.ipv6.conf.all.disable_ipv6=0 --device /dev/net/tun --privileged --cap-add net_admin --cap-add sys_module --log-opt max-size=1m -v /lib/modules:/lib/modules -v $WGCF_DIR:$WGCF_DIR fscarmen/netflix_unlock:latest
# 清理临时文件

Loading…
Cancel
Save