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