Installing Docker
Install Docker on all nodes and use Docker as the available container.
- Install Docker. For details, see Docker 19.03.10 Installation Guide (CentOS & openEuler).
- Set Docker to automatically start upon system startup.
systemctl enable docker.service
- Configure the experimental feature.
Enable the experimental feature of the Docker CLI and enable the --platform parameter of Docker.
- Open the file.
vi /etc/docker/daemon.json
- Press i to enter the insert mode and add the following content to /etc/docker/daemon.json:
{ "experimental": true } - Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the file.
- Restart the Docker service.
systemctl daemon-reload systemctl restart docker
Parent topic: Configuring the Installation Environment