Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker [2015/06/22 04:19] snacsnocdocker [2022/12/19 05:12] (current) snacsnoc
Line 6: Line 6:
   cat snacklinux-22.06.15-docker.tar | sudo docker import - snacklinux-22.06.15-docker   cat snacklinux-22.06.15-docker.tar | sudo docker import - snacklinux-22.06.15-docker
   sudo docker run -i -t snacklinux-22.06.15-docker /bin/bash   sudo docker run -i -t snacklinux-22.06.15-docker /bin/bash
 +  
 +  
 +===== Debian setup =====
 +
 +1. Open a terminal window on your Debian 11 machine. Make sure you are logged in as an administrative user.
 +
 +2. Update the package list by entering the following command in your terminal:
 +
 +  sudo apt-get update
 +
 +3. Install Docker's dependences to make sure all the required packages are available:
 +
 +  sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
 +
 +4. Add the GPG key for Docker's repositories:
 +
 +  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add –
 +
 +5. Add the Docker repository to Debian:
 +
 +  sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
 +
 +6. Update the package list once again:
 +
 +  sudo apt-get update
 +
 +7. Install Docker:
 +
 +  sudo apt-get install docker-ce docker-ce-cli containerd.io
 +
 +8. Check the status of the Docker service: 
 +
 +sudo systemctl status docker
 +
 +9. Start Docker:
 +
 +  sudo systemctl start docker
 +
 +10. To make sure Docker will start when the system restarts, enter this command:
 +
 +  sudo systemctl enable docker
 +
 +11. Finally, check the version of Docker by running the following command:
 +
 +  docker -v