Can Docker Desktop Automatically Update Itself on Mac?
Asked by
MellowCedar42
I'm fairly new to running Docker on a Mac and currently have around seven containers. Docker Desktop seems to receive updates pretty often, which is great, but I'm wondering whether the application itself can update automatically. I already use Watchtower to update my containers and would like to know if there's a similar option for Docker Desktop.
Answers
For managing updates, you could try a container-management tool such as Dockhand, Arcane, Dockage, or Portainer. These can make it easier to pull newer images and recreate containers when youโre ready, without blindly updating everything.
Reply to this answer
I use Portainer as a container manager. When an update is available, I pull the newer image and recreate the container manually, which gives me a chance to check the changes before switching over.
Reply to this answer
Iโd be cautious about automatically updating containers. Using the latest tag or letting a tool redeploy containers can introduce unexpected changes or break something. Pinning images to exact versions gives you more consistent deployments. If an image follows semantic versioning well, you could instead choose whether to allow patch, minor, or major updates.
Reply to this answer
How are you installing and running Docker on your Mac? If you use Homebrew, you can periodically run its update and upgrade commands to keep installed packages and applications current. Colima and Lima are also alternatives if youโre using Docker through a lightweight virtual machine instead of Docker Desktop.
Reply to this answer
Add your answer
Answers are reviewed before publication.
AmberFox_26: That approach is useful for keeping the tooling current, but Iโd still review upgrades before applying them if the containers are important.