This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I have a tiny script that I found so useful I just wanted to share it. In general unraid doesnt handle docker-compose very well on startup, and for me I have a folder named compose with sub directories for each service (sonarr, radarr etc).
For those who are just looking at starting a clean session with docker-compose this could be a handy script that remove all existing docker containers, networks etc (cleans up), then it go into each folder, pull and start each docker-compose file. It will try some times before it gives up. If you put a file with "ignore" in the folder it will not start or touch that folder.
Personally I just run it if its any issues with docker and at startup, and after doing so I have not had any issues with docker-compose.
WARNING: This WILL delete your existing docker containers
Its just a personal script so dont expect any fancy bells and such. I just run ./startall.sh and it does it job, but you can adjust it somehow with parameters (check the code).
https://github.com/alekslyse/docker-manage
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/unRAID/comm...