Installing docker on parrot os

Vishal Dalwadi picture Vishal Dalwadi · Jul 14, 2019 · Viewed 7.4k times · Source

I am new to Linux and using Parrot Os (Home Edition). I am trying to install Docker on the same. But have been unable to do so.

This is for running MySQL and I also think that it will be useful to me later. I tried installing docker using APT package manager as follows:

sudo apt-get install docker

The installation completes but after that it when i try to start the service, it says

Failed to start docker.service: Unit docker.service not found.

Since I am an newbie, please give detailed answer or place links so that i can read it myself? Thanks.

Answer

Jadhav Gaurav picture Jadhav Gaurav · Apr 14, 2021

You can easily install docker with the following command.

┌─[user@parrot-virtual]─[~/Desktop]
└──╼ $sudo apt install docker.io

    

After successful installation..

┌─[user@parrot-virtual]─[~/Desktop]
└──╼ $docker
        
 Usage:  docker [OPTIONS] COMMAND
        
        A self-sufficient runtime for containers