$sudo
yum update
When
Centos 6 ,5 befer then Centos7 version
install
$sudo yum install -y http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
$sudo yum
install -y docker-io
Centos7
is ready install
$sudo yum
install -y docker
# set
docker power on auto startup server
$ sudo systemctl enable docker.service
# start run docker
$ sudo systemctl start docker
# test docker run
$ sudo
docker run --rm hello-world
沒有留言:
張貼留言