I have a Ubuntu 22.04 server which I’ve got docker running on and I’m struggling to get it to apt-get update. The system has the docker sources list file and it works fine in that it returns a HTTP request. I’m able to perform a wget to archive.ubuntu.com and it returns saying TCP port 80 connect but no HTTP response. I can ping the archive fine as well as google.co.uk but I cannot get any further in figuring out why it’s not working. I know it’s not a network firewall as I’ve got other ubuntu servers on this subnet connecting fine so the only difference is the fact that this server is docker.
I’ve tried the following:
replacing the nameserver from 8.8.8.8 to 8.8.4.4 and even 1.1.1.1
updating datetime to ensure it’s correct.
replacing mirrors to https and even the US ones.
shutting down docker service and downing the bridge interfaces.
Replace any IPTables configuration with a permit any any.
All of this has left me really stumped.
Any ideas of things to try would be appreciated.