The following are instructions for installing Docker on Linux/Ubuntu. Details for other Linux distros may vary. See https://docs.docker.com/get-docker/ for more detailed instructions.
Run the following commands to install Docker on Linux/Ubuntu:
sudo apt-get update
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo groupadd docker
if group docker doesn't exist alreadysudo gpasswd -a $USER docker
- Log out and back in again (you may also need to stop/start docker service)
docker ps
to verify that Docker is running.
Install docker compose: