I’ve got an unRAID (6.11.5) server that I’m recovering from a bit of data loss on. I have the array started, with VMs and Docker disabled in settings.

I’d like to start the docker service without any containers spinning up automatically. Is there a way to do that? Is there a config file somewhere I can edit to disable autostart?

  • @Lucacri
    link
    English
    21 year ago

    I don’t think there is a config for that but I can think of two solutions

    First is to start docker and have a docker ps | xargs docker stop (on mobile so needs to be written appropriately), which could be quick enough

    Alternatively the nuclear option: move or rename the docker folder ( usually /var/lib/docker), “reinstall” docker so it recreates the folders and once done you can just swap them back

  • DRx
    link
    fedilink
    11 year ago

    So, I’m not sure if you can do it “now” prior to starting then docker service… however, once the service is started, you can go to the docker tab, click advanced, and change the auto starts there

  • @[email protected]
    link
    fedilink
    English
    11 year ago

    You could remove the docker image, this means you need to “reinstall” all your containers from their most recent settings via template/previously installed. You will not lose Container config/settings but no containers will exist after starting docker.