Difference between revisions of "Docker installation on CentOS 7"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Docker|Docker</yambe:breadcrumb> =Docker installation on CentOS 7= To install docker on CentOS 7 use following steps: # Update CentOS 7 fully as default Cen...") |
m |
||
Line 7: | Line 7: | ||
#:: yum -y update --skip-broken | #:: yum -y update --skip-broken | ||
#:</pre> | #:</pre> | ||
# Reboot the machine to boot into latest kernel | |||
# Install epel-release and install docker using epel | # Install epel-release and install docker using epel | ||
#:<pre> | #:<pre> |
Revision as of 05:20, 23 August 2015
<yambe:breadcrumb>Docker|Docker</yambe:breadcrumb>
Docker installation on CentOS 7
To install docker on CentOS 7 use following steps:
- Update CentOS 7 fully as default CentOS 7 kernel does not works well with latest docker
- yum -y update --skip-broken
- Reboot the machine to boot into latest kernel
- Install epel-release and install docker using epel
- yum -y install epel-release
- yum -y install docker
- Start docker and also Enable it to run on startup
- systemctl start docker.service
- systemctl enable docker.service
- Run hello-world example
- docker run hello-world
Some steps learned from http://www.itzgeek.com/how-tos/linux/centos-how-tos/installing-docker-on-centos-7-rhel-7-fedora-21.html
Official documentation on docker installation for CentOS 7 is at https://docs.docker.com/installation/centos/
<yambe:breadcrumb>Docker|Docker</yambe:breadcrumb>