I have a nas (synology) and a mini pc(will install linux + docker) then I would like to use my nas drive as the storage (like storing photos) then use the docker on my linux machine and mount nas drive volume. But this should work when I manage on my linux machine.

It will be easier to manage on my nas then use my linux machine as a node/worker for running containers. So if you have any suggestions for this concept please let me know

  • Interesting_Ad_5676@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Do you would like to use Linux system as docker host and you want to have storage exposed by NAS for this docker host ?

    If that is the intent of your question, yes it can be done.

    Expose nas storage over nfs. Mount the nfs in Linux. Refer the mount point directory as docker storage in docker-compose file. That’s it. No big fuss. You can even soft link /var/docker directory to your nfs share, if required.