Skip to content

Commit

Permalink
Merge pull request #43 from ousamabenyounes/update-usage-instructions
Browse files Browse the repository at this point in the history
Update Usage command to run in interactive mode
  • Loading branch information
ousamabenyounes authored Mar 1, 2024
2 parents 0a9b57f + 9a54bfb commit a52042d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This image will be updated continuously.
## Usage

```sh
docker run --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
docker run -it --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
```

or if you prefer to run it in detached mode add the `-d` option:
Expand All @@ -20,6 +20,15 @@ docker run -d --privileged -p 8383:8383 ousamabenyounes/yellowlabtools

And then open [`http://localhost:8383/`](http://localhost:8383/) on your web browser.

### localhost

If you would like to run tests against a website that is only available on the host network, for example, `localhost`, then you need to run the Docker image using the `--network=host` flag.

```diff
- docker run -it --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
+ docker run -it --privileged --network host -p 8383:8383 ousamabenyounes/yellowlabtools
```

## Debug

If you need to run your instance in debug mode, add `'DEBUG=*` to the environment variables:
Expand Down

0 comments on commit a52042d

Please sign in to comment.