Upgrading Docker

From WilliamsNet Wiki
Jump to navigation Jump to search

The only case where special attention is required is for GPU nodes in the development cluster (or any other edge case that has a special configuration contained in the /etc/docker/daemon.json configuration file.

The general procedure is as follows:

  1. copy the /etc/docker/daemon.json file aside
  2. upgrade docker
  3. replace the /etc/docker/daemon.json file
  4. restart docker

These steps are implemented for the dev cluster in the 'update-docker.sh' script in the k8s-admin repository on GitLab.