December 20, 201510 yr I currently have my docker.img file on a regular HDD, but I would like to move this, and my current containers, over to the cache drive to increase performance on Plex, Sabnzbd, etc. The docker.img file is 50GB, and I have a LOT of stuff already configured and set up in Plex, a huge queue in Sabnzbd, etc. I was hoping to find a way to back up all my stuff, exactly as it is now, and move it over to the cache drive. How would I go about doing that? Would I just need to stop the docker containers, copy/move the docker.img file over to the cache drive and then restart docker containers while pointing it at the new location of the docker.img? Or are there other changes that I need to do in order to optimize performance for these docker containers?
December 20, 201510 yr Community Expert Where do you have the application data for your dockers? That is the only thing you need to worry about. You can create a clean and empty docker.img and just recreate all your dockers from their templates as long as you have their application data.
December 20, 201510 yr Author Where do you have the application data for your dockers? That is the only thing you need to worry about. You can create a clean and empty docker.img and just recreate all your dockers from their templates as long as you have their application data. my appdata for docker is currently spread out throughout all of my disks(1 through 5). I just got done reading this - https://lime-technology.com/forum/index.php?topic=41765.msg396691#msg396691 So I think I'll need to copy the appdata directory on each disk(1 through 5) over to the appdata folder on the cache drive(after marking the appdata share as cache only). I assume this is the correct order? Once that is done, then I can work on moving the docker.img file over there too. . .or just creating a new one like you said?
December 20, 201510 yr Community Expert Where do you have the application data for your dockers? That is the only thing you need to worry about. You can create a clean and empty docker.img and just recreate all your dockers from their templates as long as you have their application data. my appdata for docker is currently spread out throughout all of my disks(1 through 5). I just got done reading this - https://lime-technology.com/forum/index.php?topic=41765.msg396691#msg396691 So I think I'll need to copy the appdata directory on each disk(1 through 5) over to the appdata folder on the cache drive(after marking the appdata share as cache only). I assume this is the correct order? Once that is done, then I can work on moving the docker.img file over there too. . .or just creating a new one like you said? Sounds good. Recreating docker.img is what I would do. Then on the docker page you can add back all of your containers by selecting the corresponding "my-template" from the dropdown and all your settings for that docker will be used to download and run the container.
December 22, 201510 yr Author Where do you have the application data for your dockers? That is the only thing you need to worry about. You can create a clean and empty docker.img and just recreate all your dockers from their templates as long as you have their application data. my appdata for docker is currently spread out throughout all of my disks(1 through 5). I just got done reading this - https://lime-technology.com/forum/index.php?topic=41765.msg396691#msg396691 So I think I'll need to copy the appdata directory on each disk(1 through 5) over to the appdata folder on the cache drive(after marking the appdata share as cache only). I assume this is the correct order? Once that is done, then I can work on moving the docker.img file over there too. . .or just creating a new one like you said? Sounds good. Recreating docker.img is what I would do. Then on the docker page you can add back all of your containers by selecting the corresponding "my-template" from the dropdown and all your settings for that docker will be used to download and run the container. Just got around to doing this tonight and it worked like a charm. Thank you so much for you help. I truly appreciate it
Archived
This topic is now archived and is closed to further replies.