From 522cc9e1329efc01a5d2563640f0675d3cb40ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Sat, 5 Dec 2020 14:25:47 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=AE=8C=E5=96=84Docker=E6=89=93?= =?UTF-8?q?=E5=8C=85=E9=95=9C=E5=83=8F=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26aae93..f4ac73e 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ ### 食用方式 ```shell # 编译镜像 -docker build -t sms_miai . -# 运行镜像 +docker build --net=host -t sms_miai . +# 运行容器 docker run -itd --name sms_miai --restart=always -e MIUSER=小米账号 -e MIPWD=小米密码 -p 18888:18888 sms_miai ```