I am running Fedora Server with Docker installed, and it has a folder that connects to my NAS via SMB. I will have all of my Docker files (and Compose configs) stored on my NAS, since it has a lot more storage. I am worried that Docker will glitch out and cause a mess, since my NAS starts ~2 minutes later than my server from a reboot. Is there something that I can do to make sure Docker is able to connect to the SMB share safely?

  • breadsmasher@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Not personally used docker and SMB in that exact setup, but I would approach it as leaving the server to deal with SMB etc and docker to handle the volume after the fact.

    But do you mean you have all your docker compose files on a different server connected via SMB, and from your host server running docker, so it needs to access the external SMB server?

    I wouldn’t set it up like this. Config data itself should be negligible. Are you concerned with docker image data storage usage? Because your setup of having the configs elsewhere I believe wouldn’t solve the image size storage needs since the docker host would still pull them down