How to install Docker on CentOS

0 votes
How to install Docker on CentOS?
Feb 27, 2019 in Docker by Dishant
1,115 views

1 answer to this question.

0 votes

Hey @Dishant, follow these steps to install and set Docker on CentOS:

Update repositories

sudo yum check-update

Add docker official repo

curl -fsSL https://get.docker.com/ | sh

Install Docker

yum install docker

Start docker and check the status

sudo systemctl start docker
sudo systemctl status docker
sudo systemctl enable docker

answered Feb 27, 2019 by Avinash

Related Questions In Docker

0 votes
2 answers

How to install docker-compose on Windows?

Docker compose is already installed if you ...READ MORE

answered Apr 15, 2019 in Docker by Anudeep
4,618 views
+1 vote
1 answer

How to write ansible play book to install docker and start docker container with docker image on multiple host machines

Hi@Shashi, You can do this task easily with ...READ MORE

answered Oct 22, 2020 in Docker by MD
• 95,460 points
6,767 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 34,253 views
+1 vote
2 answers

How to run docker containers on different machines

You can use labels and selectors for ...READ MORE

answered Oct 23, 2018 in Docker by Laila
3,611 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,210 views
+2 votes
1 answer
0 votes
1 answer

Error after updating docker

Hey @Ali, try switching to 1.0.1 and ...READ MORE

answered Jan 8, 2019 in Docker by Vikas
1,440 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