From 14c45f418c6665db69ed9b6ad10912c54a753d24 Mon Sep 17 00:00:00 2001 From: peterrus Date: Sun, 12 Feb 2017 13:50:42 +0100 Subject: [PATCH] using run instead of exec It is more in line with the other commands we run earlier. Shouldn't have any negative effects right? --- docs/docker-compose.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docker-compose.md b/docs/docker-compose.md index 01da0f6..827ee69 100644 --- a/docs/docker-compose.md +++ b/docs/docker-compose.md @@ -48,15 +48,15 @@ docker-compose logs -f ```bash export CLIENTNAME="your_client_name" # 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) -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 ```bash -docker-compose exec openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn +docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn ``` ## Debugging Tips