Trying to create a docker container for Plex Media Server

  • I'm trying to create a docker container for a Plex Media Server, using this image: https://hub.docker.com/r/linuxserver/plex/. I'm running LibreELEC on a Raspberry Pi 3.

    I tried the following command to create the container:

    Code
    docker create \
    --name=plex \
    --net=host \
    -e VERSION=latest \
    -e PUID=0 -e PGID=0 \
    -e TZ=Asia/Kolkata \
    -v /var/media/falconhdd/transmission/config:/config \
    -v /var/media/falconhdd/transmission/downloads:/data/downloads \
    -v /var/media/falconhdd/transmission/transcode:/transcode \
    linuxserver/plex

    And then I ran it using docker start plex

    However the container seems to crash immediately. I see no running containers when typing in docker ps and when I try to list all containers using docker ps -a the status of the plex container shows as Exited (1) 9 seconds ago

    Is there anything wrong with how I created the container that is causing it to immediately crash? This happened with some other images as well. Not sure how to solve this.

    EDIT: I pulled the logs for the container using docker logs plex and got the following:

    Code
    standard_init_linux.go:178: exec user process caused "exec format error"

    What does this mean?

    Edited 2 times, last by Monie (July 3, 2018 at 2:20 PM).

  • OK so it seems that the addon was of the wrong architecture. I will try installing the Linuxserver.io repo and installing Plex as an addon from that repo.