How to install Docker on CentOS?

0 votes
How to install Docker on CentOS?
Feb 27 in Docker by Dishant
14 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 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 in Docker by Anudeep
151 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,100 points

edited Oct 16, 2018 by lina 2,029 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
40 views
+2 votes
4 answers

How to install packages inside a docker Ubuntu image?

Execute the update and the install command ...READ MORE

answered Apr 24 in Docker by Vismaya
1,416 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,200 points
51 views
0 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 in Docker by Vikas
71 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.