I've purchased a static IP address from Google Cloud. The problem is, I don't know how to properly add it to netplan. I've tried multiple different things, but none seem to work. Well, I am able to connect to the server and do stuff, but Docker does not seem to recognize it, which is a huge problem for me. This is how the netplan from Google Cloud looks normally:
I've tried following azure guides, so I've added 60-static.yml with the following content.
Of course, I've applied it with netstat apply. It is also important to note that during my testing, the whole Cloud Firewall was disabled, so it could not make any problems.
When I, for instance, try docker run busybox nslookup google.com
, I get the following output. It is the same for every single website.
Hope someone comes with a solution! Thanks !