Skip to content
This repository was archived by the owner on Jan 17, 2020. It is now read-only.

Commit a8c551c

Browse files
author
Antoine Mary
committed
Update readme for patch2
1 parent 87b5171 commit a8c551c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,18 @@ You will have to configure it. To do so use :
5151
# How to use this image
5252
For a simple use without persistence :
5353
```
54-
docker run -d --cap-add NET_ADMIN -p 443:443/tcp -p 992:992/tcp -p 1194:1194/udp -p 5555:5555/tcp amary/softether-vpn-server
54+
docker run -d --cap-add NET_ADMIN --name softether-vpn-server -p 443:443/tcp -p 992:992/tcp -p 1194:1194/udp -p 5555:5555/tcp amary/softether-vpn-server
5555
```
5656
For a simple use with persistence (will give you access to configuration and logs) :
5757
```
58-
docker run -d --cap-add NET_ADMIN -p 443:443/tcp -p 992:992/tcp -p 1194:1194/udp -p 5555:5555/tcp -v /host/path/vpnserver:/usr/vpnserver:Z amary/softether-vpn-server
58+
docker run -d --cap-add NET_ADMIN --name softether-vpn-server -p 443:443/tcp -p 992:992/tcp -p 1194:1194/udp -p 5555:5555/tcp -v $(pwd)/softether/config:/etc/vpnserver:Z -v $(pwd)/softether/logs:/var/log/vpnserver:Z amary/softether-vpn-server
5959
```
6060
Add/delete any ```-p $PORT:$PORT/{tcp,udp} depending on you will ```
6161

6262
# Changelog
6363
* v4.22-9634-beta : Initial Release
6464
* v4.22-9634-beta.patch1 : Update Alpine to 3.6, Improve Dockerfile, Secure Entrypoint
65+
* v4.22-9634-beta.patch2 : Fix mounting issues, update Readme
6566

6667
[//]: <> (==== Reference Part ====)
6768

0 commit comments

Comments
 (0)