Docker data-root on mergerfs share

  • I'm trying to have Docker use my mergerfs share as its data-root but when I try to start up a container I'm getting the following error:


    ERROR: for {container-name} Cannot create container for service {container-name}: error creating overlay mount to /srv/{mergerfs uuid}/docker/overlay2/a2807f5f147bf1d06f0fb1278f5b26930ef03d152954b4d99c5297ac770bda28-init/merged: invalid argument


    Any ideas on how to troubleshoot this. Its the only issue I'm running into with my omv build.

  • I suggest not using an OMV defined share for this purpose. Determine what the actual fully qualified mountpoint name is and use that instead.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Look in your /etc/fstab and see if it shows up there. I don't use the UnionFS plugin, I configure mergerfs by hand instead.


    Also, regardless of how you specify it, I would not use a mergerfs pool for the docker base path if using a create policy that has any possibility of scattering these files across more than one drive. If you lose a drive or one fails to mount for any reason, your dockers will be broken.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!