April 15, 20251 yr Hi, since my docker.img was about to run full I wanted to extend it and maybe switch to overlay2 while doing that. I am aware of the three magic links: https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file https://docs.unraid.net/unraid-os/manual/docker-management/#re-installing-docker-applications https://docs.unraid.net/unraid-os/manual/docker-management/#docker-custom-networks I wanted to clarify some things however. Ok so I disable docker, delete the img file, switch to overlay2 and reenable docker. Then no container will be there? So I have to reinstall them. I am supposed to do that via the apps and go to "previous apps". When I do that NOW I see 34 "previous apps". When I switch to "installed apps" I see 58. This does not seem correct. I am using some containers from docker hub directly which I did not install via apps. Moreover I have four docker-compose "clusters". That might show the differences. But it raises the question: How do I get THOSE back? Fine I can reinstall all "previous apps" but what about the rest? Will the docker folders come back after this or do I have to make that grouping myself as well again? About the custom networks: I assume I need to do "docker network ls" and make not of all non br* and host networks and after the process first create them with docker network create? I am aware that to the pros here these might be silly or RTFM questions. I searched quite a bit and am not sure I got things right especially regarding the non-apps. And the system is too important to "just give it a try", hence my request to you professionals. Regards JP
April 15, 20251 yr Community Expert 5 minutes ago, JPHobby said: When I do that NOW I see 34 "previous apps". When I switch to "installed apps" I see 58. This does not seem correct. These are mutually exclusive sets. 6 minutes ago, JPHobby said: How do I get THOSE back? The same way you installed them originally.
April 15, 20251 yr Author 1 minute ago, trurl said: These are mutually exclusive sets. Thanks. But is it safe to assume that once I deleted docker.img the 58 apps disappear from the "installed Apps" tab and I then have 92 apps in "Previous Apps"? If that is true I will first need to make a list of all apps that I currently have in use. There is no automatism that will magically recreate the 58 apps I have running right now. Correct? 2 minutes ago, trurl said: The same way you installed them originally. Ok. I had that coming... But there is a bit more to the question. First this would mean I now have to go through all dockers and "find" them. Some of them I have installed a year ago and I do not remember if they came from apps or me manually adding them. Is there a way to find that out or is all of that a manual process? Feels a bit tedious. And what about docker-compose (via the plugin): Where are those files stored and will they pertain the image-recreation? Since compose manager plugin remains installed (I presume) the configurations should all persist and I only have to do a compose up on those? For the containers (both installed via app and via add container) there currently are tons of settings. Path mappings, Environment variables etc. How do I get those back (esp. for the ones that I created via add container). There is a big difference between "after creation simply go to previous apps and install the apps again" and First make a list of all apps that are currently installed Then find all containers you manually added For all those containers note their position in the docker folder plugin For all those containers make note of all individual settings (folder mappings, Environment variables, runtime arguments) Then recreate the docker image. Create your networks Go to Previous Apps, find the previously installed apps and reinstall them. Manually create the containers you installed besides the apps. Go to each installed container and manually recreate all settings. etc. I might be misinterpreting something and in the end all of that is very simple because 99% of the settings are retained etc. If not, this looks like a very tedious procedure. One then could say: Stupid why did you not simply make the image much larger. True. Matter of experience. Or why did you not use overlay2 in the first place. Because it was not available at the time. I am not trying to flame. I just want to make you understand why this is worrying me quite a bit. It took months to get everything up and running the way it is. I do not want to jeopardize it. And yes: AppBackup is running. 🙂 But again: What if my img is getting corrupt? Or the server breaks down? I would essentially have to go through above steps (assuming they are correct)... That is far from a simple "restore".
April 15, 20251 yr Community Expert If you go to Previous Apps right now, you can select and delete any templates you don't want to reinstall. Previous Apps looks at all of your docker templates, and lists any that aren't currently installed. Your docker templates are on the flash drive in config/plugins/dockerMan/templates-user
April 15, 20251 yr Community Expert Solution Anything you installed yourself from docker hub or elsewhere will have a template if you installed it from the Add Container page. I've never used compose.
April 15, 20251 yr Community Expert Docker Folder plugin is deprecated. Its replacement, FolderView, seems to be not available yet in CA.
April 15, 20251 yr Author Just now, trurl said: If you go to Previous Apps right now, you can select and delete any templates you don't want to reinstall. Thanks. That is actually a very good suggestion. Sorry I did not come up with that myself. Thanks! Quote Anything you installed yourself from docker hub or elsewhere will have a template if you installed it from the Add Container page. Ok. I am beginning to understand and am very thankful for your patience. Let's exclude docker compose for the moment. When I install a container via apps or in the docker tab via add container there will be a template. And after deleting docker.img all of those templates will show under "previous apps" and I can simply select all and hit "install all selected" and it will download the containers and reapply my settings according to the templates? In that case I would not have to do all the manual "crap" (with the exception of the manual docker network create). Is this correct? Because then --> This would be a livesaver. The docker compose stuff should be in /boot/config/plugins/compose.manager/projects and I assume a simple docker compose up for every project should do the trick!
April 15, 20251 yr Community Expert 4 minutes ago, JPHobby said: Is this correct? yes 6 minutes ago, trurl said: FolderView And now it is FolderView2, still not in CA yet
April 15, 20251 yr Author Cool. Just upgraded to FolderView2. Thanks for the link. I missed that. So I will have to announce a "downtime" to the family and "home office" sometime this week and perform this procedure which according to above messages and "previous apps" should be easy enough to do. Dear @trurl: I am very grateful!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.