How do I install docker on Ubuntu

0 votes
I'm working on an assignment and I think it requires me to use Docker. Can I please know how to install it?
Feb 21, 2019 in Docker by Vijay
1,069 views

1 answer to this question.

0 votes

Hey @Vijay, Follow these steps:

Add the GPG key for the official Docker repository to your system:

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add the Docker repository to APT sources:

$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
xenial \
stable"

Update your repositories:

$ sudo apt-get update

Install docker repo

$ apt-cache policy docker-ce

Finally, install docker

$ sudo apt-get install -y docker-ce

Start docker

$ sudo systemctl status docker

Check for docker version using the following command:

$ docker --version

answered Feb 22, 2019 by Sridhar

Related Questions In Docker

0 votes
1 answer

How do I install docker on windows?

Hey @Dipti, Follow these steps to install ...READ MORE

answered Feb 25, 2019 in Docker by Kalgi
638 views
0 votes
1 answer

How do I install docker-compose on linux?

Docker Compose is a tool for defining ...READ MORE

answered Jul 2, 2019 in Docker by Sirajul
• 59,230 points
9,307 views
0 votes
0 answers

How do I actually install Docker on Windows 8.1? (Docker Toolbox for Windows 8.1 was deprecated recently)

So I have been advised something like ...READ MORE

Apr 21, 2022 in Docker by pranav
• 2,590 points
546 views
0 votes
2 answers

How do I fix the “no space left on device” error in docker?

Try cleaning up: $ docker volume rm $(docker ...READ MORE

answered Aug 14, 2019 in Docker by Sirajul
• 59,230 points
12,132 views
0 votes
2 answers
+2 votes
1 answer
0 votes
1 answer

How do I install Docker on Mac

Hey @Ali, follow this guide, hope it ...READ MORE

answered Jan 3, 2019 in Docker by Vishnu
517 views
+1 vote
1 answer

How do i install jenkins using a dockerfile on a windows container?

Here is to how you can install JENKINS ...READ MORE

answered Aug 22, 2019 in Docker by Sirajul
• 59,230 points
5,835 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP