Change server DNS
sudo vi /etc/resolv.conf remove all content in this file and add below codes : nameserver nameserver
Masoud Hosseini
sudo vi /etc/resolv.conf remove all content in this file and add below codes : nameserver nameserver
apt update sudo apt install docker.io #or : sudo snap install docker docker --version refrence : https://docs.docker.com/engine/install/ubuntu/#install-from-a-package Install docker compose : sudo apt-get install docker-compose-plugin https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04