docker-mac-network icon indicating copy to clipboard operation
docker-mac-network copied to clipboard

Missing docker-for-mac.ovpn

Open partizanos opened this issue 8 years ago • 4 comments

Hello I am not sure where docker-for-mac.ovpn file is generated. Is there any step/configuration I am missing?

partizanos avatar Jun 30 '17 14:06 partizanos

It will be generated in the root folder of this repository. Note that this may take about 30 seconds, as it needs to generate keys.

If this does not work, please check the output of docker-compose logs for any errors.

wojas avatar Aug 03 '17 07:08 wojas

I'm facing a similar issue. I got this working before, but "suddenly" I started to get the following:

openvpn_1  | WARNING!!!
openvpn_1  |
openvpn_1  | You are about to remove the EASYRSA_PKI at: /etc/openvpn/pki
openvpn_1  | and initialize a fresh PKI here.
openvpn_1  |
openvpn_1  | Type the word 'yes' to continue, or any other input to abort.
openvpn_1  |   Confirm removal:
openvpn_1  | Aborting without confirmation.
dockermacnetwork_openvpn_1 exited with code 9

openvpn_1  | *** REGENERATING ALL CONFIGS ***

Any hints on what this might be?

rfer avatar Nov 25 '17 17:11 rfer

@rfer I'm not sure about the confirmation, but the configs will be regenerated if docker-for-mac.ovpn is missing.

You can manually delete config/*, which will at least work around the confirmation error.

I guess helpers/run.sh should delete those files. It looks like I commented out rm -rf /etc/openvpn/*, but I don't remember why.

wojas avatar Nov 27 '17 08:11 wojas

@wojas Yeah, eventually I tried removing the commented line and it worked. Was about to ask you why it was commented, as I don't see any harm with it.

rfer avatar Nov 27 '17 09:11 rfer