Installing Docker
Docker must be installed on both the primary node and the compute nodes.
For details about how to install Docker, see Docker Installation Guide.
- If the Docker server needs to access the Internet through a
proxy or the Docker pull image needs to access the Internet, you need to configure a proxy for Docker.Create or modify the Docker proxy configuration file.1 2
mkdir /etc/systemd/system/docker.service.d/ vim /etc/systemd/system/docker.service.d/http-proxy.conf
- Press i to enter the insert mode and modify the proxy information based on your requirements.
[Service] Environment="http_proxy=http://proxy_username:proxy_user_password@proxy_service_address:proxy_service_port"
- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: MGR Deployment Guide