Docker

Install docker on the head node and K8s control plane nodes.

  1. Run the cm-docker-setup CLI wizard on the head node as the root user.

    # cm-docker-setup
    
  2. Choose Deploy to continue.

    _images/docker-1.png
  3. By default, the wizard will create a docker configuration overlay. This assigns the Docker::Host role to the nodes selected in the wizard.

    _images/docker-2.png
  4. Leave items unselected in the screen because individual nodes will be specified in the next step.

    _images/docker-3.png
  5. bcm10-headnode is selected to install docker.

    _images/docker-4.png
  6. Optionally, specify a specific Docker bridge network. If you choose not to specify a bridge network, the default value of 172.17.0.0/16 will be used.

    _images/docker-5.png
  7. Enter any local Docker repositories on this screen.

    _images/docker-6.png
  8. Do not install the NVIDIA Container Runtime on the head node since there is no GPU on that node.

    _images/docker-7.png
  9. Select Save config & deploy to save the deployment configuration.

    _images/docker-8.png
  10. By default, the Docker wizard will save the deployment configuration in /root/cm‑docker‑setup.conf.

    This configuration file can be used to redeploy Docker in the future. Select OK to start the installation.

    _images/docker-9.png