welcom ! Handel home

2017年1月17日 星期二

Linux CentOS7 64bit install docker Note


$sudo yum update

When Centos 6 ,5  befer then Centos7 version install
$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




沒有留言: