docker testing (doc)
This commit is contained in:
31
test.md
Normal file
31
test.md
Normal 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 .
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user