I have this problem as well. Ubuntu 18.04 with ipv6 disabled (ipv6.disable=1 in /etc/default/grub)
Since the update to 20.10.6, I can no longer use docker because it complains as such:
Error starting userland proxy: listen tcp6 [::]:5432: socket: address family not supported by protocol
Until docker fixes this issue, I have to rollback to 20.10.5 like this:
apt install docker-ce=5:20.10.5~3-0~ubuntu-bionic
You might also want to “hold” the package for now
apt-mark hold docker-ce