Updated the instructions for running on Docker
- Removed unnecessary white space - Included the instructions for what path in the URL to go to once the app starts - Added instructions for different types of docker use (boot2docker, etc)
This commit is contained in:
parent
0ad1f0d147
commit
fbb389a7b4
26
README.MD
26
README.MD
@ -44,8 +44,21 @@ docker pull webgoat/webgoat-8.0
|
||||
docker run -p 8080:8080 webgoat/webgoat-8.0
|
||||
```
|
||||
|
||||
Wait for the Docker container to start and go to step 3.
|
||||
Please note: this version may not be completely in sync with the develop branch.
|
||||
Wait for the Docker container to start, and run `docker ps` to verify it's running.
|
||||
|
||||
- If you are using `docker-machine`, verify the machine IP using `docker-machine env`
|
||||
- If you are using `boot2docker` on OSX, verify the IP by running `docker network inspect bridge`
|
||||
- Otherwise, the host will be bound to localhost
|
||||
|
||||
Once you have the IP and port, you'll want to navigate to the `/WebGoat` path in the URL. For example:
|
||||
|
||||
```
|
||||
http://192.168.99.100:8080/WebGoat
|
||||
```
|
||||
|
||||
Here you'll be able to register a new user and get started.
|
||||
|
||||
_Please note: this version may not be completely in sync with the develop branch._
|
||||
|
||||
## 2. Run from the sources
|
||||
|
||||
@ -131,12 +144,3 @@ docker tag webgoat/webgoat-8.0 webgoat/webgoat-8.0:8.0
|
||||
docker login
|
||||
docker push webgoat/webgoat-8.0
|
||||
```
|
||||
|
||||
With the following command you are able to run the Docker container on your local machine:
|
||||
|
||||
```Shell
|
||||
docker run -p 8080:8080 -t webgoat/webgoat-8.0
|
||||
docker ps
|
||||
```
|
||||
|
||||
With the last command you are able to determine ip address to connect to.
|
||||
|
Loading…
x
Reference in New Issue
Block a user