I am running a docker image on 2 different computers and the contents of said image are different.
I am ensuring they are the same image by specifying the digest as suchdocker run -it ubuntu@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da /bin/bash
however when I runcat /etc/apt/sources.list
I am getting very different contents. Furthermore when I try to do apt-get update && apt-get install curl -y
on one computer I get 400 bad request errors and is unable to install while on the other computer it works just fine.
The bad computer has mirror URIs that are mostly from ubuntu-ports, i.e. ports.ubuntu.com/ubuntu-ports
while the good computer is mostly archive.ubuntu.com
I dont believe this file is generated at runtime so I cannot figure out what is causing this discrepancy.