docker installation command not found

0 votes

I am new to Docker and I have heard a lot about it. 

I am trying to install the Docker on my local machine. I am using the below command:

sudo apt-get install docker

But the above command is unable to download docker. Can anyone tell me how to install docker on my local machine.

Thanks.

Nov 15, 2018 in DevOps & Agile by Shubham
• 1,000 points
136 views

1 answer to this question.

0 votes

Here is a simple command which you can use.

try using:

apt-get update

apt-get install docker.io

I hope it will install docker for you and resolve your query.

answered Nov 16, 2018 by anonymous

Related Questions In DevOps & Agile

0 votes
1 answer

bash: mvn: command not found.Failed to search for file: Cannot update read-only repo

Hi@akhtar, You got this error because you didn't ...READ MORE

answered Jun 3 in DevOps & Agile by MD
• 31,430 points
97 views
0 votes
2 answers

Docker not able to identify default-address-pool

The pull request is merged in https://github.com/moby/moby/pull/36396 and hopefully will ...READ MORE

answered Aug 7, 2018 in DevOps & Agile by Kalgi
• 51,890 points
1,111 views
0 votes
1 answer

Copy directory to other directory at Docker using ADD command

Here is how you can resolve your ...READ MORE

answered Oct 11, 2018 in DevOps & Agile by Damon Salvatore
• 5,540 points
55 views
0 votes
1 answer

Docker for Windows CE: installation error

You’re facing this problem because you’re running ...READ MORE

answered Nov 16, 2018 in DevOps & Agile by Tyrion anex
• 8,380 points
67 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,530 points
598 views