Server Version#: 1.21.0.3711
Player Version#: 4.43.4
Hi all,
I’ve been using Plex in a Docker container for years on an old desktop running Centos 7.
I would like to try moving it to a Raspberry Pi, at least for a short term as we are moving cross country and I want to get rid of the old beast of a PC. I am running Ubuntu 18.04.5 LTS on my RPi4.
I am getting pretty good at Linux but still missing a few steps on the conversion process.
I created the Dockerfile.armv7 and Dockerfile.arm64 files - copied and pasted to files on my RPi - I run the command:
docker build -t plexinc/pms-docker:latest -f Dockerfile.arm64 .
and there is a warning at step 9, but it continues until step 15:
COPY root/ /
The error was:
COPY failed: stat /var/lib/docker/tmp/docker-builder406783440/root: no such file or directory
Since there is no “root” directory in that location I changed the command in the dockerfile to ‘COPY / /’ I got a little further, and it made it to Step 16 but failed with:
/bin/sh: 1: /installBinary.sh: not found
What am I doing wrong? or is there something up with my setup or the dockerfile?
I get the same result whether I try to build the ARM7 or the ARM64 image.
It seems there are a few unsupported docker containers out there for ARM but I prefer to use the official docker image unless someone can give me a good reason why its ok.
Thanks!
A little more context, if you care, on why I want to use a docker container on RPi:
I really would like to run this in Docker. I use GlusterFS (file cluster) between 2 RPi 4s and my old computer is the arbiter. I haven’t put the transcode or config files on the GlusterFS yet because I figured they’d be better off on the SSD they were on. Ultimately though, I’d like to run my docker container fully on my clustered file system so that I can run the docker container on either node. I do have another RPi 4 that will become the new arbiter so I can decommission my old Linux box. The GlusterFS volume runs terrific on my RPi. Since GlusterFS is a RedHat thing, it is really only supported on CentOS or RedHat. However, they do have a supported install method for Ubuntu. Ubuntu seemed a little more mature than CentOS for RPi or well any version of CentOS.