using run instead of exec
It is more in line with the other commands we run earlier. Shouldn't have any negative effects right?
This commit is contained in:
parent
7627f8e9f9
commit
14c45f418c
@ -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