BryanForbes
06/18/2025, 2:14 PMBryanForbes
06/18/2025, 2:14 PMoffby1
06/18/2025, 9:29 PMamorfati
06/19/2025, 11:27 PMsh
orb docker migrate
coderberry
06/20/2025, 6:17 PMjlb
06/21/2025, 11:48 PMTheNicholasNick
06/22/2025, 9:28 AMDanny
06/22/2025, 8:34 PMDanny
06/26/2025, 8:55 AMjlb
06/26/2025, 10:26 AMoffby1
06/26/2025, 1:15 PMoffby1
06/26/2025, 1:16 PMinit: true
](https://docs.docker.com/reference/compose-file/services/#init) to one of my services, precisely so that it would shut down quickly when I hit Control-Cjlb
06/26/2025, 3:37 PMjlb
06/26/2025, 3:39 PMDanny
06/27/2025, 5:10 AMtar
is recommendedjlb
06/27/2025, 1:09 PMjlb
06/28/2025, 10:27 PMbsdtar -C ~/Library/Group\ Containers/HUAQ24HBR6.dev.orbstack/data -cf - data.img | bsdtar -C /Volumes/MyDrive -xf -
to copy the data.img sparse file to an external drive
Then I tried to do the same process backwards (copying from the external drive to the new Mac internal ssd), but for some reason it was writing the whole 8.8 TB file (I could track what the command was doing by looking at the Activity Monitor -bytes written in disk-) to the point where the internal ssd became full and I started getting errors from other apps.
To stop this I had to restart, because Ctrl-C didn't work and even deleting the newly created file didn't free up the space.
At this point I asked ChatGPT and it gave me a couple of options that didn't work either (cmp
and rsync
which didn't work either because they were trying to write the whole 8.8 TB too). I also tried copying and pasting via Finder, but it immediatelly errored out saying the file was too big for the destination.
At the end, I could do it with plain old cp
command: cp /Volumes/MyDrive/data.img ~/Library/Group\ Containers/HUAQ24HBR6.dev.orbstack/data/data.img
. I had to track the progress via Activity Monitor, because the command didn't exit normally, but it did copy the sparse file correctly.
Maybe I made a mistake at some point of the process that resulted in this painful experience. I still believe the sparse file is useful, but it would be a great idea to be able to set its size, just like you can in Virtual Machines softwares. This way, you don't have to go through this hassle when you need to migrate.Brian Topping
06/29/2025, 5:41 AMCanters
06/30/2025, 11:06 AMoffby1
06/30/2025, 12:40 PMBiscuit
06/30/2025, 3:42 PMCanters
06/30/2025, 3:45 PMTheNicholasNick
07/01/2025, 8:14 AMCanters
07/01/2025, 11:26 AMBiscuit
07/01/2025, 11:50 AMCanters
07/05/2025, 10:26 AMBiscuit
07/05/2025, 10:29 AMCanters
07/05/2025, 10:29 AMBiscuit
07/05/2025, 10:30 AMCanters
07/05/2025, 10:38 AM