Check docker network on DietPi

I an running a docker container on DietPi and it does not have a connection to the internet. ‘ping 8.8.8.8’ just shows

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

and then it waits. I’ve checked my router logs and it doesn’t seem to be dropped or blocked on there. Perhaps something on DietPi is blocking it? I’m not sure what, I am just guessing at the moment. Is there anyway to inspect connection from the docker container to see if any rules are blocking the connection?

I’ve compared the iptable rules to a working environment and they look fine. I’m not sure what else it could be.

Thanks for any advice/help
Martin

Not sure what I did to mess it up but its working on a new flashed image. I have other issues with the new image but I’ll create new posts/issues for them.