A network plugin that creates a network isolated to Private Internet Access VPN
1.3K
This is a plugin that creates allows you to create a docker network where all traffic is forwarded to PIA.
Run the following command to install the plugin:
#sudo mkdir -p <run path> <config_path>
docker plugin install eckyecky/pia-docker-network-plugin:latest
#docker plugin set eckyecky/pia-docker-network-plugin:latest lib_dir=<lib path>
#docker plugin set eckyecky/pia-docker-network-plugin:latest config_dir=<config path>
#docker plugin set eckyecky/pia-docker-network-plugin:latest LOG_LEVEL=<level>
docker plugin enable eckyecky/pia-docker-network-plugin:latest
docker network create pia --driver pia-docker-network-plugin:latest #-o config_name=<config_file>
You can configure the plugin with the following options:
lib_dir defaults to /var/lib/pia-docker-network-pluginconfig_dir defaults to /etc/pia-docker-network-pluginLOG_LEVEL defaults to errorYou can configure your network with the following options by creating a yaml file in the config_dir. The network create command can specify the file to look at by using -o config_name=<config_file> without the extension. (The plugin will look for both yml and yaml files.) The default config file is default.yaml.
username requiredpassword requiredregion required id of the pia server region to connect to. This file contains the available servers.Once you have it installed and configured you can connect to the network with the following command:
docker run --net pia <image> <command>
Content type
Plugin
Digest
sha256:a94624e8d…
Size
48.3 MB
Last updated
almost 2 years ago
docker plugin install eckyecky/pia-docker-network-plugin