GNU/Linux Ubuntu Docker CE Repository Setup – Step-by-step Guide
Hi! This Tip shows you Step-by-Step How to Setup the Apt Repository for Docker Community Edition Installation for Ubuntu-Based GNU/Linux OSes.
And the Docker Ubuntu Repo dispose of Multiple Channels: stable, nightly, edge.
Docker is a Command-line Program, a background Daemon, and a set of Remote Services that take a Logistical Approach to Solving common Software Problems and Simplifying your experience Installing, Running, Publishing, and Removing Software.
Getting-Started with Docker on Ubuntu is Easy, it’s enough to Install it and then Use the Docker Engine to Create and Manage Containers.
Finally, this Docker Repo Setup is good also for:
- Mint
- Lubuntu
- Kubuntu
- Xubuntu
- Zorin OS
- Elementary OS
- Kde Neon
- Bodhi
- Pop!_OS
- Linux Lite
- LXLE
- feren OS
- Peppermint Linux
- Q4OS Linux
- Linux Ultimate Edition

1. Terminal Getting-Started Guide
How to Quick-Start with Command Line on Ubuntu GNU/Linux
Here Console Ubuntu Linux QuickStart GuideLink to Step-by-Step Guide on Getting Started with Command Line in Ubuntu GNU/LinuxFirst Update the Apt Repo Sources with:
Authenticate with the User Admin Pass.Copysudo apt update
If Got “User is Not in Sudoers file” then see: How to Enable sudo.2. Installing Dependencies
Install Required Packages
Play:Copysudo apt install apt-transport-https curl ca-certificates gnupg
3. Adding Docker CE GPG Key
Import the Docker CE GPG Key
First, make the Target Directory:And then to Setup it run:Copysudo install -m 0755 -d /etc/apt/keyrings
Last, to fix Permission:Copycurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Copysudo chmod a+r /etc/apt/keyrings/docker.gpg
4. Installing Docker CE Repo
Add the Docker CE Repository
You have 2 Alternatives: ‘stable’ or ‘nightly’ Channel.
So for the Stable Release on Ubuntu 14.04+ Based OSes play:On Mint and others Ubuntu Derivatives you may need to use UBUNTU_CODENAME instead of VERSION_CODENAME in the above Command.Copyecho "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
5. Refreshing Repos
Last Refresh the Repositories
Simply run:In case of Not Found try to then Amend it manually with:Copysudo apt update
And for instance, set it as:Copysudo nano /etc/apt/sources.list.d/docker.list
Ctrl+x to Save & Exit from nano ;)Copyhttps://download.docker.com/linux/ubuntu jammy
And then Update the Apt Sources again.6. Docker Getting Started
Docker Quick Start for Ubuntu Based