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.
Just confirm the docker installation after sudo apt-get install docker
is successful.
From the error, it seems docker.service
file is not created after installation.
Try to create the docker.service
file manually. Refer this.
You probably need to create /etc/systemd/system/docker.socket
file with these contents. And /etc/systemd/system/docker.service
file with these contents.
Hope this helps.