[strongSwan] How to use swanctl in docker after running charon as entrypoint?
Noel Kuntze
noel.kuntze+strongswan-users-ml at thermi.consulting
Thu Jan 4 14:19:17 CET 2018
Hi,
Use charon.start-scripts in strongswan.conf to load the config.
Kind regards
Noel
On 04.01.2018 07:17, Glen Huang wrote:
> Hi,
>
> I’m trying to put strongswan in docker, but the problem is I use swanctl, and I have no idea how to run swanctl in dockerfile after I run charon as entrypoint. Docker doesn’t have something like ExecStartPost that systemd has.
>
> I searched in docker community and everybody said run command after entrypoint in dockerfile was the wrong approach, but given the dichotomy between charon and swanctl, I’m not sure how that can be achieved otherwise.
>
> I wonder if it’s possible to ask swanctl to bring up charon and load-all in one go?
>
> Regards,
> Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20180104/302dbc1d/attachment.sig>
More information about the Users
mailing list