How to install Docker on CentOS?

0 votes
How to install Docker on CentOS?
Feb 27, 2019 in Docker by Dishant
229 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
1,763 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,200 points

edited Oct 16, 2018 by lina 14,037 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
553 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, 2019 in Docker by Vismaya
15,367 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
159 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, 2019 in Docker by Vikas
150 views