this post was submitted on 01 Jul 2023
5 points (85.7% liked)

Selfhosted

37688 readers
231 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

top 3 comments
sorted by: hot top controversial new old
[–] Lucacri 2 points 1 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

[–] [email protected] 1 points 1 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] 1 points 1 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.