Your description is mildly confusing to read, could you provide a list of commands? You can check history
for this.
Sometimes APT can auto install recommended packages, adding --no-install-recommends
disables this temporarily.
Edit: Also you're using PopOS which is Ubuntu based, usually using Debian packages isn't an issue on Ubuntu, but sometimes it is, and something like docker should have an Ubuntu version.