28 lines
578 B
Markdown
28 lines
578 B
Markdown
# Dockerized test for the interdiscount waiting queue
|
|
|
|
## Whut?
|
|
|
|
- This container simulates user accesses via the tor network.
|
|
- A web-ui is available on the containers exposed port.
|
|
|
|
## How to build and run?
|
|
|
|
```bash
|
|
$ git clone $repo
|
|
$ docker build $repo -t lasttest
|
|
|
|
# start some browsers
|
|
for i in $(seq 1 100):
|
|
docker run -d -p 5800 lasttest
|
|
|
|
# Or simply use the deploy script.
|
|
```
|
|
|
|
## Oh no, now I have xyz randomly named containers running - how to stop
|
|
them?
|
|
|
|
```bash
|
|
$ docker rm --force $(docker ps --filter="ancestor=lasttest"
|
|
--format="{{.ID}}")
|
|
```
|