rpm安装(未测试)

1.Go to
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/
and download the.rpm
file for the Docker version you want to install.

Note: To install an edge package, change the word
stable
in the above URL toedge
.
Learn about stable and edge channels.

2.Install Docker CE, changing the path below to the path where you downloaded the Docker package.

$ sudo yum install /path/to/package.rpm

Docker is installed but not started. The docker group is created, but no users are added to the group.
3.运行

$ sudo systemctl start docker
$ sudo systemctl enable docker

你可能感兴趣的:(rpm安装(未测试))