I installed docker on a Debian 7 machine in the following way
$ echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list $
I just ran into this. I'm on Ubuntu 20.04. What worked? Reinstalling Docker:
sudo apt-get purge docker-ce docker-ce-cli containerd.io sudo apt-get install docker-ce docker-ce-cli containerd.io
A bit crude, I know. I tried pruning Docker, but it still would not work.