From 47d06ba6c08da8ebbbc0468cdf7b68510663097b Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 11 May 2023 18:54:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d307c37..73fff28 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## 编译容器 ``` -docker build -t onenetcom/carto-jw +docker build -t onenetcom/carto-jw . ``` @@ -12,6 +12,9 @@ docker build -t onenetcom/carto-jw ``` sudo sh -c 'echo 127.0.1.1 cartodb.localhost >> /etc/hosts' +docker run -it --rm -p 80:80 -h cartodb.localhost onenetcom/carto-jw + + docker run -d -p 80:80 -h cartodb.localhost onenetcom/carto-jw ``` \ No newline at end of file