How to install Docker and Docker Desktop in Arch Based Distribution [Linux]

Nahidul Islam
3 min readDec 10, 2022

--

Docker Install Linux

What is Docker?

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. This ensures that the application will run consistently on any other host machine, regardless of any customized settings that the host machine might have that could differ from the machine used for writing and testing the code. This makes Docker a very useful tool for building and deploying applications in a fast and efficient manner.

Why Docker Matters?

This is important because it allows developers to create applications that can be easily transported from one system to another, making it easier to develop and test applications in a consistent environment. Additionally, Docker containers are isolated from one another, which makes it easier to manage the dependencies and libraries required by each application, reducing the risk of conflicts that can arise when multiple applications share the same system resources. Overall, Docker simplifies the process of developing and deploying applications, making it easier for developers to create and manage complex applications.

How to install Docker on Linux?

To install docker in Arch distribution you have to run the following command. This will automatically download docker on your system.

sudo pacman -S docker -y

To verify docker installation run the following command.

docker --version

It will show the docker version installed on your system.

How to install Docker Desktop?

1. Download Docker Desktop for Arch from below link

2. Install Docker Desktop by the following command

sudo pacman -U ./docker-desktop-<version>-<arch>.pkg.tar.zst

Replace the file name with your downloaded file name.

3. Open Docker Desktop

Go to your search bar and type

docker desktop

4. Sing up/Sign in Docker Desktop

Create an account on Docker Hub if you don’t have an account. Just follow the below link and after creating and account on Docker Hub sign in with Docker Desktop.

5. Check is it running?

So you have done all the steps perfectly till now. Now let’s check is docker running on your system or not. Run below command

sudo systemctl status docker 

If it’s inactive and not running on your system. You can run it by running the following command.

sudo systemctl start docker

And check if running it well by typing the previous status command.

Congratulations 👏 you have successfully installed Docker and Docker Desktop on your Linux system.

If you find this article helpful don’t forget to give claps and feedback. Share with your friends and colleagues. In case you have any queries you can drop a mail to 📧 analyticalnahid@gmail.com

💬 My Social Profile :- GitHub | LinkedIn | YouTube | Facebook

--

--

Nahidul Islam
Nahidul Islam

No responses yet