Add possibility of specifying the gateway address
Description
When connected to a VPN that has the same Gateway (192.168.5.2) as colima/lima, I couldn't reach out to services in the other side from inside the container. Guess is the conflict of addresses.
- VPN has the same gateway address as colima (192.168.5.2);
- Tries to pull docker image from private registry only accessible via the VPN, which needs to pass through the gateway;
- Not possible.
P.S.: I have made some changes here and passing a different GW fixed my problem when using this version, still not sure if this is even needed. If it is, glad to contribute.
Hi, thanks for taking a dig at working around the issue.
Your solution is actually accurate (or at least close enough). I am a bit occupied at the moment and would have another look soon :)
@Guilospanck can you create a pull request?
Done @abiosoft