Merge pull request #216 from peterrus/patch-1

using run instead of exec
This commit is contained in:
Kyle Manna 2017-02-12 09:34:14 -08:00 committed by GitHub
commit f4351bb0dd

View File

@ -48,15 +48,15 @@ docker-compose logs -f
```bash ```bash
export CLIENTNAME="your_client_name" export CLIENTNAME="your_client_name"
# with a passphrase (recommended) # with a passphrase (recommended)
docker-compose exec openvpn easyrsa build-client-full $CLIENTNAME docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME
# without a passphrase (not recommended) # without a passphrase (not recommended)
docker-compose exec openvpn easyrsa build-client-full $CLIENTNAME nopass docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME nopass
``` ```
* Retrieve the client configuration with embedded certificates * Retrieve the client configuration with embedded certificates
```bash ```bash
docker-compose exec openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn
``` ```
## Debugging Tips ## Debugging Tips