环境

原来环境是:24.04.1.1
应用安装了有TrueCharts社区的也有官方的

升级情况

APP

TrueCharts社区 全部被删除只迁移了官方的应用

docker

root@truenas[~]# docker info
Client: Docker Engine - Community
 Version:    27.1.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.16.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 5
  Running: 2
  Paused: 0
  Stopped: 3
 Images: 3
 Server Version: 27.1.1
 Storage Driver: overlay2
  Backing Filesystem: zfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.6.44-production+truenas
 Operating System: Debian GNU/Linux 12 (bookworm)
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 31.35GiB
 Name: truenas
 ID: 22f1900f-c195-44af-a36f-5c323005bf3c
 Docker Root Dir: /mnt/.ix-apps/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Default Address Pools:
   Base: 172.30.0.0/16, Size: 27
   Base: 172.31.0.0/16, Size: 27

docker 详细信息如上

官方应用安装每一个应用都会创建一个网络

root@truenas[~]# docker ps
CONTAINER ID   IMAGE                                              COMMAND                  CREATED              STATUS                   PORTS                                                                          NAMES
184dc2052ef9   storjlabs/storagenode:6f87ea801-v1.71.2-go1.18.8   "/bin/sh -c 'until […"   About a minute ago   Up About a minute        0.0.0.0:28967->28967/tcp, 0.0.0.0:28967->28967/udp, 0.0.0.0:20909->14002/tcp   ix-storj-storj-1
a09ad96ffbe4   jellyfin/jellyfin:10.9.11                          "/jellyfin/jellyfin"     2 minutes ago        Up 2 minutes (healthy)   0.0.0.0:30013->8096/tcp                                                        ix-jellyfin-jellyfin-1
root@truenas[~]# docker network ls
NETWORK ID     NAME                  DRIVER    SCOPE
a4dc05245177   bridge                bridge    local
d8500f1cc645   host                  host      local
ef705c045157   ix-jellyfin_default   bridge    local
13d23665ba38   ix-storj_default      bridge    local
62de0dde2410   none                  null      local

自定义应用

自定义应用程序可以直接编写docker compose

image.png

services:
  nginx:
    image: nginx:latest
    container_name: nginx_server
    ports:
      - "8081:80"
    restart: unless-stopped

用nginx来测试一下,部署成功

image.png

image.png

ZFS

版本升级到了zfs-2.2.99-1支持了raidZ 单盘扩容(RAID-Z expansion)

但是我没条件测试,有条件的可以测试一下

最后修改:2024 年 10 月 03 日
感谢您的支持