官术网_书友最值得收藏!

Installing Docker for CentOS

64-bit version of CentOS 7 is required to run Docker. You can get the Docker package from CentOS's repository via sudo yum install docker, but this might be an older version. Again, the installation steps from Docker's official guide (https://docs.docker.com/install/linux/docker-ce/centos/) are as follows:

  1. Install the utility to enable yum to use the extra repository:
$ sudo yum install -y yum-utils  
  1. Set up Docker's repository:
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 
  1. Install Docker CE and start it. If key verification is prompted, make sure it matches 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35:
$ sudo yum install docker-ce
$ sudo systemctl start docker
主站蜘蛛池模板: 射阳县| 嘉善县| 武清区| 大荔县| 漯河市| 张家川| 隆子县| 资源县| 隆尧县| 塔城市| 舟山市| 陇西县| 新野县| 绥化市| 麦盖提县| 师宗县| 诸城市| 维西| 扶绥县| 双江| 进贤县| 洛浦县| 瑞安市| 云南省| 望奎县| 正蓝旗| 金川县| 武安市| 高安市| 沁阳市| 靖边县| 彩票| 连云港市| 铜梁县| 罗平县| 黔西县| 丹寨县| 武陟县| 台安县| 兴隆县| 广昌县|