Plex: Move a Windows 10 server to Windows 11, and then to Ubuntu 24.04 as a Docker container.

Опубликовано: 15 Май 2026
на канале: Albert Bush
1,543
23

Support articles used...

Move an Install to Another System

https://support.plex.tv/articles/2013...

Where is the Plex Media Server data directory located?

https://support.plex.tv/articles/2029...

Opening Plex Web App

https://support.plex.tv/articles/2002...

The container configuration for hardware acceleration from my Nvidia 3060 GPU, with paths ot both local and USB media.

version: "3.9"
services:
plex:
image: ghcr.io/linuxserver/plex:latest
container_name: plex
hostname: plex
network_mode: host
mem_limit: 4g
cpu_shares: 1024
security_opt:
no-new-privileges:true
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:32400/web
deploy:
resources:
reservations:
devices:
driver: nvidia
count: 1
capabilities: [gpu]
volumes:
/var/lib/docker/plex:/config:rw
/home/albert/media-public-domain:/plexmedialocal:rw
/media/albert/1tbseagateblack01/media-public-domain-usb:/plexmediausb1:ro
/dev/shm:/transcode
environment:
TZ: America/New_York
PUID: 1000
PGID: 1000
VERSION: public
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=all

restart: unless-stopped

Once up, enable hardware accelerated transcoding in Plex server and set path to /transcode


A templete if using an Intel iGPU...

version: "3.9"
services:
plex:
image: ghcr.io/linuxserver/plex:latest
container_name: plex
hostname: plex
network_mode: host
mem_limit: 4g
cpu_shares: 1024
security_opt:
no-new-privileges:true
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:32400/web
volumes:
/home/albert/docker:/config:rw
/home/albert/media-public-domain:/plexmediaishere:rw
/dev/shm:/transcode
devices:
/dev/dri/renderD128:/dev/dri/renderD128
/dev/dri/card0:/dev/dri/card0
environment:
TZ: America/New_York
PUID: 1000
PGID: 1000
VERSION: public
restart: on-failure:5

Once up, enable hardware accelerated transcoding in Plex server and set path to /transcode