I was thinking maybe hook them together via USB-C and use konsole for Linux dd command to duplicate over to the oled SD.
You’re on the right path, but that won’t work because the Deck isn’t a host device; you can’t just plug them into each other and see the other one’s storage media.
Also, keep in mind that if you use dd to clone one disk on to another, you’re also cloning the partition table from the original disk. If the target disk is larger, you’ll also have to first expand the partition to fill the whole disk, then also expand the filesystem to fill the partition.
I can tell you what I’d do, but I only use Linux on my desktop computer; there are probably similar Windows tools for doing this, but I’m not familiar with them.
First, assuming you have a computer with an empty NVMe slot or a USB NVMe drive reader and a hard drive that has enough space to hold an image of the original disk:
- Plug the source disk into your computer, dd to dump the original disk
- Remove it, plug in the target disk, use dd to copy the image to the target disk
- Use gparted to resize the partition to fill the new disk
- Use resize2fs to resize the filesystem to fill the entire partition
After doing that, you can put the target disk back in the Deck and it will probably work, but no guarantees since I’ve never tried it.
If you post a copy of your
docker-compose.yml
file inside a code block, somebody can probably identify the syntax error for you. Otherwise, the best I can do is tell you you can paste your YAML into https://www.yamllint.com/ and it will tell you if your YAML is valid or not.