Docker and/or Kubernetes official support


Our company manages a few kubernetes cluster, and pritunl is a great choice in managing them. Creating pritunl server is quite easy since there are some unofficial images available. But we cannot seem to find a way for setting up pritunl-client and pritunl-link in docker/kubernetes. Our last resort is to use vanilla openvpn client and use iroute there.

Do you have any plans on better supporting containerized platform?

The same configuration commands should work in a Docker container after the configuration is done run the command pritunl-link start

Ok, I’ll tinker more about pritunl-link, I only tried once. What about the pritunl-client? I tried the documented commands, and it didn’t work. Or maybe it’s expected to not work in a container?

root@eceed50acc65:/# pritunl-client add pritunl://xxxxx
panic: auth: Failed to auth key
open /var/run/pritunl.auth: no such file or directory
	/go/src/ +0x6aded6
	/go/src/ +0x6ba827
	/go/src/ +0x6bbaaf

And when installing, there was some interesting errors.

root@eceed50acc65:/# apt-get update && apt-get -y install gnupg ca-certificates && \
    gpg --keyserver hkp:// --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A && \
    { gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > /etc/apt/trusted.gpg.d/pritunl.asc ; } && \
    { echo "deb jammy main" > /etc/apt/sources.list.d/pritunl.list ; } && \
    apt-get update && apt-get -y install pritunl-client
ln: failed to create symbolic link '/etc/resolv.conf': Device or resource busy
dpkg: error processing package resolvconf (--configure):
 installed resolvconf package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of pritunl-client:
 pritunl-client depends on resolvconf; however:
  Package resolvconf is not configured yet.

dpkg: error processing package pritunl-client (--configure):
 dependency problems - leaving unconfigured

The Pritunl Client requires a systemd service, that will need to be started with pritunl-client-service