我要评分
获取效率
正确性
完整性
易理解

Installing Docker

Install Docker on all nodes and use Docker as the available container.

  1. Install Docker. For details, see Docker 19.03.10 Installation Guide (CentOS & openEuler).
  2. Set Docker to automatically start upon system startup.
    systemctl enable docker.service
  3. Configure the experimental feature.

    Enable the experimental feature of the Docker CLI and enable the --platform parameter of Docker.

    1. Open the file.
      vi /etc/docker/daemon.json
    2. Press i to enter the insert mode and add the following content to /etc/docker/daemon.json:
      { 
          "experimental": true 
      }
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  4. Restart the Docker service.
    systemctl daemon-reload
    systemctl restart docker