sudo lsof -i -P -n | grep <port number> # List who's using the port
Then run
sudo service <running service name> stop
sudo apt-get install docker-ce=5:20.10.17~3-0~ubuntu-focal docker-ce-cli=5:20.10.17~3-0~ubuntu-focal containerd.io docker-compose-plugin