From 1a4da30f449355abf1aa7970386d12a76214725d Mon Sep 17 00:00:00 2001 From: PlusBoy Date: Tue, 9 Jan 2024 10:07:02 +0000 Subject: [PATCH] =?UTF-8?q?update=20README.md.=20=E6=9B=B4=E6=96=B0docker?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: PlusBoy --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 24aba98..6f33bef 100644 --- a/README.md +++ b/README.md @@ -179,9 +179,17 @@ 开源代码访问地址:https://gitee.com/stonedtx/yuqing-manager -## Docker 安装 - -- 1.Docker拉取镜像并运行 +## Docker 部署 +### 1.安装Docker +- 对于Ubuntu用户 +`apt install -y docker.io` +- 对于Centos用户 +`yum install -y docker` +然后启动Docker服务 +``` +systemctl start docker +``` +### 2.Docker拉取镜像并运行 在命令行输入下面一行命令即可完成镜像的拉取以及运行,拉取镜像大概需要花费5-10分钟。 @@ -189,7 +197,7 @@ docker run -itd --name stonedt_yuqing -p 8085:8085 registry.cn-beijing.aliyuncs.com/stonedt_yuqing/stonedt_yuqing:1.0.6 ``` -- 2.验证是否成功运行 +### 3.验证是否成功运行 使用docker ps命令获取我们运行的容器ID -- Gitee