Merge pull request #216 from peterrus/patch-1
using run instead of exec
This commit is contained in:
commit
f4351bb0dd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user