Having some issues with a container. Typically I use a virtual router with containers as I have limited IPv4 space so this is my first time doing a container on its own IP.
I have set the network settings with the IP/24 I want to use and the gateway being the host machine's IP as normal.
But when running the container, it has issues with networking.
Using the config above, I can connect to the internet on the machine, ping out and resolve urls.
But I can not ping the container from outside of the network or from the host machine.
The network settings are the same on a VM and that has no issue with the network and can ping in from outside and from the host box.
Pinging out from the container, well it works for a few seconds and then stops. Then will resume.
I am guessing this is some routing issue?
Ubuntu 20.04 template.
I have set the network settings with the IP/24 I want to use and the gateway being the host machine's IP as normal.
But when running the container, it has issues with networking.
Using the config above, I can connect to the internet on the machine, ping out and resolve urls.
But I can not ping the container from outside of the network or from the host machine.
The network settings are the same on a VM and that has no issue with the network and can ping in from outside and from the host box.
Pinging out from the container, well it works for a few seconds and then stops. Then will resume.
I am guessing this is some routing issue?
Ubuntu 20.04 template.
Last edited: