openvpn3 and docker
Posted: Fri Feb 12, 2021 5:26 pm
Hello everyone,
I'm using the new openvpn3 client.
Now I'm learning about docker, but when I try to start a docker container via docker-compose up I get this error message:
So I did what people with no knowledge do, I asked the search engine of my trust.
And I only found a fix for the old openvpn client:
https://stackoverflow.com/questions/632 ... ork-issues
There are 2 other options to deal with that issue, but I do not like them:
* Start docker container before the vpn
* Change all docker files to use a custom specified network
I very much would prefer a solution which just keeps working in the background. However my networking knowledge is limited. I hardly know what I'm dooing. I'm still learning.
I'm using the new openvpn3 client.
Now I'm learning about docker, but when I try to start a docker container via docker-compose up I get this error message:
Code: Select all
ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
And I only found a fix for the old openvpn client:
https://stackoverflow.com/questions/632 ... ork-issues
How would I fix this issue with openvpn3.The issue here is that docker/docker-compose is unable to find a suitable address range to assign a subnet to the a new internal network since the VPN adds routes for all IP addresses.
There are 2 other options to deal with that issue, but I do not like them:
* Start docker container before the vpn
* Change all docker files to use a custom specified network
I very much would prefer a solution which just keeps working in the background. However my networking knowledge is limited. I hardly know what I'm dooing. I'm still learning.