更新 'README.md'

This commit is contained in:
zhongjin 2023-05-11 18:54:25 +08:00
parent 5f9c4c307b
commit 47d06ba6c0

View File

@ -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' 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 docker run -d -p 80:80 -h cartodb.localhost onenetcom/carto-jw
``` ```