I have been trying to install Plex using docker compose according to @macom‘s [How-To] on a NanoPi M4 and OMV5. My docker-compose.yml file fails to deploy when I send the command docker-compose up -d. I get the response /usr/local/bin/docker-compose: line 1: Not: command not found. I know docker-compose is installed because I just ran apt install docker-compose which returns that the current version is already installed. Here’s a copy of my yml file:
Code
---
version: "2"
services:
plex:
image: linuxserver/plex
container_name: plex
network_mode: host
environment:
- PUID=1001
- PGID=100
- VERSION=public
volumes:
- /srv/dev-disk-by-label-m4disk1/AppData/Plex:/config
- /srv/dev-disk-by-label-m4disk1/AppData/Transcode:/transcode
- /srv/dev-disk-by-label-m4disk1/Media/Movies:/Movies
- /srv/dev-disk-by-label-m4disk1/Media/TV:/TV
- /srv/dev-disk-by-label-m4disk1/Media/Music:/Music
- /srv/dev-disk-by-label-m4disk1/Media/Photos:/Photos
- /srv/dev-disk-by-label-m4disk1/Media/Videos:/Videos
restart: unless-stopped
Alles anzeigen
Can anyone please help with this?