تحديث Docker إلى أحدث إصدار

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)

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)

You can

apt-get update; apt-get upgrade

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

إعجابَين (2)

Wouldn’t it be apt-get?

إعجاب واحد (1)

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

إعجابَين (2)

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)

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

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

إعجاب واحد (1)

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

إعجابَين (2)

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)