README: Add --rm to init steps
* Don't need these containers to stick around polluting docker.
This commit is contained in:
parent
37f86037d8
commit
5fd47763d7
@ -10,8 +10,8 @@ OpenVPN server in a Docker container complete with an EasyRSA PKI CA.
|
||||
|
||||
* Initalize the `$OVPN_DATA` container that will hold the configuration files and certificates
|
||||
|
||||
docker run --volumes-from $OVPN_DATA kylemanna/openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM:1194
|
||||
docker run --volumes-from $OVPN_DATA -it kylemanna/openvpn ovpn_initpki
|
||||
docker run --volumes-from $OVPN_DATA --rm kylemanna/openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM:1194
|
||||
docker run --volumes-from $OVPN_DATA --rm -it kylemanna/openvpn ovpn_initpki
|
||||
|
||||
* Start OpenVPN server process
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user