Docker update to latest version

I followed the recommended installation guide here: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

These are the only commands required for docker install:
sudo apt install docker.io
sudo apt install git

Is that going to keep docker updated to the latest version?

I’m running Ubuntu server 22.04.

2 Likes

There is the updater in the web interface can be used to update docker and will tell you if it is up to date at (site url)/admin/update.

1 Like

You can

apt-get update; apt-get upgrade

You can also configure apt to automatically apply updates and reboot if you search.

2 Likes

Wouldn’t it be apt-get?

1 Like

“-get” is no longer required in Ubuntu, so just “apt” is fine for all commands.

2 Likes

My question was more related to Ubuntu repositories with docker and if they package the latest version. I can check with the 22.04 repos. Thanks

1 Like

“apt upgrade” will update ubuntu, but does that update the docker?

For app rebuild is cd/var/discourse then ./launcher rebuild app

1 Like

There’s more info in this guide you may find useful

2 Likes

It should update docker since the original command is
sudo apt install docker.io so it is pulled from the ubuntu repositories.

From that guide referenced above:

Edit: This command seems to have caused site to crash, don’t recommend running that.

2 Likes