Unable to create docker images intel/amd generic

  • I've been using LibreElec for about a year now on a nuc. It's been working flawlessly. I want to expand it to a small home server. In my past I've setup a few rpi's for various things but I'm looking to reorganize. Fairly familiar with Linux basics and I'm aware Libre uses a lightweight version which adds some restrictions. I've enabled ssh, installed docker via the addon GUI and linuxserver.

    The issue I'm having is a I cannot add anything via Portainer to the device.


    First issue encountered:

    Code
    Failed to deploy a stack: Network homepage_default Creating Network homepage_default Created Container homepage Creating Container homepage Created Container homepage Starting Error response from daemon: error while creating mount source path '/docker/homepage/path/to/config': mkdir /docker: read-only file system

    I've read through Config.txt | LibreELEC.wiki - however this doesn't apply to generic intel (only rpi's) or I've done something really daft.


    From research this seems to be something that is locked into the OS in the configuration that Libre provide. Is this something that can be resolved?

  • Code
    docker run --name homepage \
      -e PUID=1000 \
      -e PGID=1000 \
      -p 3000:3000 \
      -v /storage/homepage/config:/app/config \   <= DEFINE WHERE /app/config SHOULD BE
      -v /var/run/docker.sock:/var/run/docker.sock:ro \
      --restart unless-stopped \
      ghcr.io/gethomepage/homepage:latest

    Assuming I guessed the container right? (https://github.com/gethomepage/homepage) the docker run command ^ needs to define where the config location resides and this needs to be somewhere under /storage not /docker/homepage/path/to/config which doesn't exist and can't be created since almost all of the root filesystem is read-only.

    NB: config.txt file is an RPi thing, but it's used for setting boot-time hardware parameters so wouldn't be of any use for this task.