How to update Dokku

How to update Dokku
We can update dokku with a simple one line CLI command.
ℹ️
This short post is part of a series of small bits on frequently asked questions about the tech I use.

This first post of the series explores how to update the useful dokku software.


CLI command to update dokku


The fastest way to update dokku is to use the dokku-update command like this:

 dokku-update run

Depending on your dokku installation, it may be required to run it with sudo as it updates apt packages.

Also, please keep in mind that it rebuilds your apps after updating dokku to take advantage of any new buildpacks that were released since the last update.

For more extended instructions and instructions for manual updates, please visit https://dokku.com/docs/getting-started/upgrading/ on the official documentation site

Mastodon