Docker
Method 1 - WebGoat and WebWolf All-in-One Image
The easiest way to start WebGoat as a Docker container is to use the All-in-One WebGoat image which contains both WebGoat and WebWolf as well as an NGINX reverse proxy.
Run the following command to download the All-in-One image from DockerHub, and consequently install and execute both WebGoat and WebWolf.
Method 2 - WebGoat and WebWolf Docker Compose
Another way to deply WebGoat and WebWolf in a more advanced way is to use a compose-file such as the docker-compose.yml
file from the WebGoat Github repository. This will start both containers and it also takes care of setting up the connection between WebGoat and WebWolf.
Create folder WASE in your laptop / PC and go into that folder.
Run the following command from the folder WASE
Important: the current directory on your host will be mapped into the container for keeping state.
Using the docker-compose
file will simplify getting WebGoat and WebWolf up and running.
Last updated