Install dependencies
All commands are to be copy and pasted into the terminal, then press ENTER.
When installing these dependencies, keep an eye on the screen. They will require you to type yes or y then press ENTER to continue with the install.
First, ensure you are in the home directory:
cd ~/Fetch latest updates:
sudo apt-get updateInstall dependencies:
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common unzip Install Torsocks
sudo apt install torsocksInstall Docker & Docker Compose
Note: if you wish to follow the official installation guide for Docker and Docker Compose see here, otherwise continue with these more simple and easy to follow steps.
Add Docker's official GPG key:
sudo apt-get updatesudo apt-get install ca-certificates curlsudo install -m 0755 -d /etc/apt/keyringssudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.ascsudo chmod a+r /etc/apt/keyrings/docker.ascAdd the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/nullsudo apt-get updateInstall latest version of Docker and Docker Compose:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginAdd your current user account to the docker group:
sudo usermod -aG docker $USER