I’m hosting a few services using docker. For something like an openstreetmap tileserver, I’d like it to remain on my SSD because high speed improves performance, and the directory is unlikely to grow and fill the drive.

For other services like NextCloud, speed isn’t as important as storage size, so I might want it on a larger HDD raid.

I know it’s trivial to move the volumes directory to wherever, but can I move some volumes to one directory and some volumes to another?

  • towerful
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    3 days ago

    I do that, until some container has permissions issues.
    I tinker, try and fix it, give up and use a volume. Or I fix it, but it never seems to be the same fix

    • Dave@lemmy.nz
      link
      fedilink
      English
      arrow-up
      9
      ·
      3 days ago

      I occasionally have had permissions issues but I tend to be able to fix them. Normally it’s just a matter of deleting the files on the host and letting the container create them, though it doesn’t always work it usually does.