Add -it to Docker command so ctrl+c is working directly

This commit is contained in:
Nanne Baars 2021-08-22 18:17:48 +02:00
parent 9a37a27a3c
commit 9cc0ae5c38
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -36,7 +36,7 @@ Every release is also published on [DockerHub]((https://hub.docker.com/r/webgoat
The easiest way to start WebGoat as a Docker container is to use the all-in-one docker container. This is a docker image that has WebGoat and WebWolf running inside.
```shell
docker run -p 127.0.0.1:8080:8080 -p 127.0.0.1:9090:9090 -e TZ=Europe/Amsterdam webgoat/goatandwolf
docker run -it -p 127.0.0.1:8080:8080 -p 127.0.0.1:9090:9090 -e TZ=Europe/Amsterdam webgoat/goatandwolf:v8.2.1
```
WebGoat will be located at: http://127.0.0.1:8080/WebGoat