Hello everyone, welcome to another Linux tutorial. In this article, we will show you how to install Docker on Fedora 39. The new version of Fedora 39 is now released and we will try to run Docker on it. Docker is a powerful platform for developing, shipping and running applications in lightweight, portable containers. These containers encapsulate an application and its dependencies, ensuring consistency and reproducibility across different environments. Docker enables developers to package their code along with all the necessary libraries and dependencies, making it easy to deploy and run applications seamlessly on any system that supports Docker.
Steps to Install Docker on Fedora 39
Step 1. Update Fedora
First of all, we need to update our system prior to Docker installation. Open Terminal or connect to Fedora 39 server via SSH. And then, execute this command to update
sudo dnf update
Step 2. Add Docker Repository
Next, we are going to add the Docker repository to our Fedora.
sudo dnf config-manager --add-repo=https://download.docker.com/linux/fedora/docker-ce.repo
Now we need to update the cache
sudo dnf makecache
Step 3. Install Docker
Now we are ready to install Docker. Use this command instead
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
Output
The command above will install the latest Docker engine, the Docker command-line interface, docker-compose, and the container runtime. Now, let’s check the Docker version.
docker -v
Output
Docker version 24.0.7, build afdd53b
We can also check the Docker service
sudo systemctl status docker
Output
Finally, use this command to start and enable Docker service during startup
sudo systemctl start docker
sudo systemctl enable docker
Output
How to Install SQL Server on Fedora 39 Using Docker - GIS Tutorial
November 22, 2023[…] first thing we need to do is to install Docker. Please refer to our previous tutorial to install Docker on Fedora 39. Make sure Docker is up and running by checking through the Terminal with this […]