I installed Dockge to manage Docker Compose directly for all of my apps since many apps I want to use are not in the TrueNAS repo. Plex is in the repo, but I want to keep everything in Dockge for simplicity, but I am having a problem migrating Plex to compose directly.
When attempting to update the container, I receive the following error:
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:50205->[::1]:53: read: connection refused
Here is my docker compose yaml:
version: "3.3"
services:
pms-docker:
container_name: plex
ports:
- 32400:32400/tcp
- 3005:3005/tcp
- 8324:8324/tcp
- 32469:32469/tcp
- 1900:1900/udp
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
environment:
- TZ=America/Chicago
- PLEX_CLAIM=claim-...
- ADVERTISE_IP=http://172.16.42.140:32400/
- PLEX_UID=568
- PLEX_GID=568
- ALLOWED_NETWORKS=192.168.0.0/16,172.16.0.0/12
- NVIDIA_VISIBLE_DEVICES=0000:02:00.0
hostname: plex-rwithrow
network_mode: host
volumes:
- /mnt/pool1/container_states/plex_new/config:/config
- /dev/shm:/transcode
- /mnt/pool1/container_states/plex_new/data:/data
- /mnt/pool1/tv:/mnt/tv
- /mnt/pool1/movies:/mnt/movies
- /mnt/pool1/audiobooks:/mnt/audiobooks
image: plexinc/pms-docker
restart: no
Any pointers here? It’s my first time using Docker Compose.
Second question, I saw somewhere that to access my Nvidia GPU for transcoding I needed a device block in the YAML config, but Dockge returns the following validation error when trying:
validating /mnt/pool1/container_states/dockge/stacks/plex/compose.yaml: (root) Additional property devices is not allowed
I used the NVIDIA_VISIBLE_DEVICES
variable for now, but I don’t know if that will be enough.
Thanks for any help here!