QNAP TS-877 Truenas Journal

well i did this

checks for updates but doesn’t update
sudo apt-get update

root@docker:~# apt list --upgradable

this updates anything it finds outdated
sudo apt-get update -y && sudo apt-get upgrade -y

hm

The following packages will be upgraded:
  docker-ce docker-ce-cli
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

then i exit restart jlmkr restart docker

jlmkr shell docker

root@docker:~# docker version
Client: Docker Engine - Community
 Version:           26.1.0
 API version:       1.45
 Go version:        go1.21.9
 Git commit:        9714adc
 Built:             Mon Apr 22 xxxxxxx 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          26.1.0
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.9
  Git commit:       c8af8eb
  Built:            Mon Apr 22 xxxxx 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.31
  GitCommit:        e377cdxxxxxxxxxxx94a521
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
root@docker:~#

seems to be latest

do my docker containers work? ya tested all fine :partying_face:

*update

some good ideas for how to go about updating in jailmaker

and if you are wondering
https://www.reddit.com/r/termux/comments/nxhpvj/pkg_vs_apt/

We strongly recommend to use a pkg utility instead of apt directly. It is a wrapper that performs a number of tasks:

  • Provides command shortcuts. Use “pkg in” instead of “pkg install” or “apt install”.
  • Automatically runs “apt update” before installing a package if necessary.
  • Performs some client side repository load-balancing by automatically switching mirrors on a regular basis. That is important to prevent us hitting quota limit on hosting.

is it alright to use apt?

As long as you manually run apt update before you try to install something you will be alright