Skip to content

Commit

Permalink
README: Add --rm to init steps
Browse files Browse the repository at this point in the history
* Don't need these containers to stick around polluting docker.
  • Loading branch information
kylemanna committed Jul 9, 2014
1 parent 37f8603 commit 5fd4776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5fd4776

Please sign in to comment.