Skip to content

Commit a52042d

Browse files
Merge pull request ousamabenyounes#43 from ousamabenyounes/update-usage-instructions
Update Usage command to run in interactive mode
2 parents 0a9b57f + 9a54bfb commit a52042d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This image will be updated continuously.
99
## Usage
1010

1111
```sh
12-
docker run --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
12+
docker run -it --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
1313
```
1414

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

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

23+
### localhost
24+
25+
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.
26+
27+
```diff
28+
- docker run -it --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
29+
+ docker run -it --privileged --network host -p 8383:8383 ousamabenyounes/yellowlabtools
30+
```
31+
2332
## Debug
2433

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

0 commit comments

Comments
 (0)