docs: docker run billchurch/webssh2 for direct testing (#269)

In addition to local docker run webssh2 pulling from billchurch/webssh2 allows testing (or even running) without clone the repo.
This commit is contained in:
Fabien Benetou 2021-12-09 15:20:53 +01:00 committed by GitHub
parent 8a68ccaffa
commit 2528a54360
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,13 @@ Alternatively if you don't want to rebuild, mount the config at runtime:
```bash ```bash
docker run --name webssh2 -d -p 2222:2222 -v `pwd`/app/config.json:/usr/src/config.json webssh2 docker run --name webssh2 -d -p 2222:2222 -v `pwd`/app/config.json:/usr/src/config.json webssh2
``` ```
Alternatively if you don't want to build either and mount the config at runtime relying on the community image :
```bash
docker run --name webssh2 -d -p 2222:2222 -v `pwd`/app/config.json:/usr/src/config.json billchurch/webssh2
```
<ignoreend> <ignoreend>
# Options # Options