IPVANISH docker container
docker run \
--cap-add=NET_ADMIN \
--device=/dev/net/tun \
--name=ipvanish \
-e 'USERNAME=IPVANISH_USERNAME' \
-e 'PASSWORD=IPVANISH_PASSWORD' \
brettmcgin/ipvanish
--dns 209.222.18.222 \
--dns 209.222.18.218 \
services:
ipvanish:
cap_add:
- NET_ADMIN
container_name: ipvanish
devices:
- /dev/net/tun
environment:
PASSWORD: YOUR_PASSWORD
REGION: YOUR_REGION
USERNAME: YOUR_USERNAME
image: brettmcgin/private_internet_access
ports:
- <portsNeededByOtherService>
busybox:
container_name: busybox
image: busybox
network_mode: service:ipvanish
command: ifconfig | grep inet
version: '2'
services:
ipvanish:
dns:
# Google
- 8.8.8.8
- 8.8.4.4
docker run brettmcgin/ipvanish ls