docs: update how to start the Docker containers

This commit is contained in:
Peter Hedenskog 2024-12-10 19:20:35 +01:00
parent f74380ce4a
commit 5338c8d2c7
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ sitespeed.io-server --config path/to/file
Or if you use Docker:
```bash
--config path/to/file
docker run --rm -v "$(pwd)":/config sitespeedio/server:{% include version/server.txt %} --config /config/config.yml
```
### Database and message broker
@ -249,7 +249,7 @@ sitespeed.io-testrunner --config path/to/file
If you use Docker, you can start it like this:
```bash
docker run -v "$(pwd)":/sitespeed.io --cap-add=NET_ADMIN -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp sitespeedio/testrunner:latest --config /sitespeed.io/config.json
docker run -v "$(pwd)":/config --cap-add=NET_ADMIN -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp sitespeedio/testrunner:{% include version/testrunner.txt %} --config /config/config.json
```