install.md: Improve docker example
This commit is contained in:
parent
b2c900fe9a
commit
9aef6b8049
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ Example usage:
|
|||
```sh
|
||||
echo 'x -> y' >helloworld.d2
|
||||
docker run --rm -it -u "$(id -u):$(id -g)" -v "$PWD:/root/src" \
|
||||
-p 127.0.0.1:8080:8080 terrastruct/d2 --watch helloworld.d2
|
||||
-p 127.0.0.1:8080:8080 terrastruct/d2:v0.1.2 --watch helloworld.d2
|
||||
# Visit http://127.0.0.1:8080
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue