How to install docker

Make sure you are up to date first

1
2
sudo apt update
sudo apt upgrade -y

And perform a reboot when done

1
sudo shutdown -r now

Download and install docker

1
curl -sSL https://get.docker.com | sh

Add the current user to the docker group

1
sudo usermod -aG docker $USER

Restart SSH session and log back in and run the following command

1
docker ps

If it works without sudo, you're done.


Last update: 2023-05-28 12:48:38