This repository was archived by the owner on Jan 17, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,18 @@ You will have to configure it. To do so use :
5151# How to use this image
5252For 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```
5656For 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```
6060Add/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
You can’t perform that action at this time.
0 commit comments