From 809c4e5b702b30cfa8a5d045f0e0880542e36d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E7=BE=8A?= Date: Mon, 26 Aug 2024 13:45:11 +0800 Subject: [PATCH] Update README.md --- Golang/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Golang/README.md b/Golang/README.md index 97b0c1a..9243812 100644 --- a/Golang/README.md +++ b/Golang/README.md @@ -3,7 +3,7 @@ ## 一、推荐使用Docker一键运行,并配置watchtower监听Docker镜像更新,直接一劳永逸: ### 1,使用Docker一键配置allinone ``` -docker run -d --restart unless-stopped --privileged=true -p 35455:35455 --name allinone youshandefeiyang/allinone +docker run -d --restart unless-stopped --net=host --privileged=true -p 35455:35455 --name allinone youshandefeiyang/allinone ``` ### 2,一键配置watchtower每天凌晨两点自动监听allinone镜像更新,同步GitHub仓库: ```