Docker is one of the most popular containerization platforms, allowing you to run applications in isolated environments. By default, Docker runs in rootful mode, meaning it uses the system's root privileges for managing containers. This setup is best for most users who want better compatibility and fewer configuration issues.
In this video, you'll learn how to install and configure Docker engine and Docker compose on a clean Debian system using rootful mode.
Commands:
sudo apt update && sudo apt upgrade -y
sudo apt install -y ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/deb... | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo apt modernize-sources
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl enable docker
sudo systemctl start docker
sudo systemctl status docker
sudo docker run hello-world
sudo docker version
sudo usermod -aG docker $USER
newgrp docker
docker ps
sudo docker info | grep -i rootless
ps aux | grep dockerd
docker compose version
sudo curl -L "https://github.com/docker/compose/rel... -s https://api.github.com/repos/docker/c... | grep tag_name | cut -d '"' -f4)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Chapters:
0:00 Intro
0:19 Step 1. Update Your System
1:29 Step 2. Add the Official Docker Repository
3:22 Step 3. Install Docker Engine and Docker Compose on Debian
4:09 Step 4. Enable and Start Docker
4:41 Step 5. Verify Docker Installation
5:11 Step 6: Check Docker Version
5:25 Step 7. Manage Docker Without sudo (Optional)
5:53 Step 8. Check If Docker Is Running in Rootful Mode
6:23 Step 9. Enable Docker Compose
7:43 End screen
What you'll learn:
1. Step 1. Update Your System
a. How to keep your system updated
b. How to ensure you have the latest security patches
c. How To update your Debian system
2. Step 2. Add the Official Docker Repository
a. How to Install dependencies:
b. How to Add Docker’s GPG key
c. How to Add the Docker repository
d. How to modernize the apt sources
e. How to Update package lists
3. Step 3. Install Docker Engine and Docker Compose on Debian
a. How To install docker engine, Docker CLI and Docker Compose plugin
4. Step 4. Enable and Start Docker
a. How to Enable the docker service on system startup using commands
b. How to Check the service status
c. How to check if the docker service is loaded and running
5. Step 5. Verify Docker Installation
a. How To make sure if Docker is properly installed and working
6. Step 6: Check Docker Version
a. How To verify the installed Docker version
7. Step 7. Manage Docker Without sudo (Optional)
a. How To manage containers without sudo
b. How to add your user to the docker group
c. How to verify if you can be able to manage docker without using sudo
8. Step 8. Check If Docker Is Running in Rootful Mode
a. How to Check who runs the daemon process
9. Step 9. Enable Docker Compose
a. How you can download the most recent version standalone Compose binary from Docker Compose GitHub official releases page
10. How To Run Docker As Non-root User In Linux
---
🔥 Download Opera GX (Gamer’s Browser): https://offergate-software12.com/2-ct...
🌍 Try Opera One (Multigeo): https://nefabop.com/6-11g1fd-c1hm-gv5...
💸 Every install supports COMPUTER EVERYWHERE — thank you!
---
Song: Danyx - Can't Feel My Face
Music provided by Vlog No Copyright Music
Link: https://bit.ly/3YMWwW7
Song: Minorq - Moonlight
Music provided by Vlog No Copyright Music
Link: https://bit.ly/3YMWwW7
Song: Amored - Endless Road
Music provided by Vlog No Copyright Music
Link: https://bit.ly/3YMWwW7
#computereverywhere #Docker #Debian13 #InstallDocker #LinuxTutorial #DebianLinux #DockerInstallation #RootfulMode #LinuxForBeginners #DockerOnDebian #TechTutorial #DevOps #Containerization #LinuxCommands #SelfHosting #linuxtips