Upgrading Docker or other maintenance on a host - is this the best way

In this scenario, I want to do everything in the UI so while there may be other ways of doing this with the API and such, I am only interested in the web UI.

Scenario: I need to do maintenance on a physical host, say upgrade Docker or reboot it for some reasons.

Actions in the UI:

  1. Deactivate the host in the Infrastructure tab.
  2. Perform an Upgrade of all the services that have a container running on that host - Rancher will then start new containers on the remaining hosts.
  3. Finish the Upgrade which removes the containers. At this point, my host has no more container running.

Seems like it would be nice to have such a feature as a single option click in the Host’s menu, but the above isn’t that bad either. Is the above correct or there is another way?

You should be able to upgrade Docker with no changes to the containers/services on your host.

But your method of upgrading services so that they are deployed onto other hosts should work.

I have also created a Github issue for your feature request.

1 Like