It didn’t require that you do a do-release-upgrade, it recommended it.
As suggested, docker is broken. You should fix it. One way, that might work, but might not, is
curl https://get.docker.com | sh
You’ll get some warnings, but I’ve used it recently.
Then you can see if this succeeds:
docker run hello-world