- DevOps with Kubernetes
- Hideto Saito Hui Chuan Chloe Lee Cheng Yang Wu
- 112字
- 2021-07-02 13:41:48
Installing Docker for CentOS
A 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:
- Install the utility to enable yum to use the extra repository:
$ sudo yum install -y yum-utils
- Set up Docker's repository:
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- 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
推薦閱讀
- Beginning Java Data Structures and Algorithms
- 零基礎玩轉區塊鏈
- arc42 by Example
- INSTANT Sencha Touch
- Julia機器學習核心編程:人人可用的高性能科學計算
- Learning AWS Lumberyard Game Development
- Java 11 Cookbook
- Apache Mesos Essentials
- OpenShift在企業中的實踐:PaaS DevOps微服務(第2版)
- OpenCV with Python By Example
- Node學習指南(第2版)
- Learning Kotlin by building Android Applications
- Python程序設計教程
- Drupal 8 Development Cookbook(Second Edition)
- JavaEE架構與程序設計