|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|