docker testing (doc)

This commit is contained in:
Suyono 2025-04-21 18:47:05 +10:00
parent 01553569ba
commit d2f02d9782

31
test.md Normal file
View File

@ -0,0 +1,31 @@
Testing
---
## Docker
There are three parts, server, client and, the bouncer itself.
### Server
```shell
docker build -f docker/Dockerfile-test-server -t netbounce:server .
```
#### Run
```shell
docker run -it --rm netbounce:server test-server --name hello --udp "0.0.0.0:8123" --debug
```
### Client
```shell
docker build -f docker/Dockerfile-test-client -t netbounce:client .
```
### Bouncer
```shell
docker build -f docker/Dockerfile -t netbounce:test .
```