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

Installing Docker

Docker must be installed on both the primary node and the compute nodes.

For details about how to install Docker, see the Docker Installation Guide.

  1. If the Docker server needs to access the Internet through a proxy or Docker needs to access the Internet to pull images, 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
    
  2. 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"
  3. Press Esc, type :wq!, and press Enter to save the file and exit.