README: Add --rm to init steps

* Don't need these containers to stick around polluting docker.
This commit is contained in:
Kyle Manna 2014-07-09 12:19:15 -07:00
parent 37f86037d8
commit 5fd47763d7

View File

@ -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 * 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 --rm 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 -it kylemanna/openvpn ovpn_initpki
* Start OpenVPN server process * Start OpenVPN server process