#rM-Docker updating to v3.8

1 messages · Page 1 of 1 (latest)

low folio
#

Trying to set the version of the docker to version 3.8.2.1965 to play with rM-Stuff safely.
To do so I, ran the qemu-rm2fb image in a container with removed --rm from docker run and -p 22:22 for ssh connection. Then used codexctl to update the emulator to v3.8 and proceeded with to install timower's rm2fb without any issues.

Saved everything running /opt/bin/save_vm.sh in the container exec. But upon restart the emulator crashes and the container stops.

I'm fairly certain it's due to the shady setup, so I'm wondering if there isn't any other way to store changes to the vm (without save_vm.sh) or setup the container from the beginning to be at v3.8 (haven't yet worked on).

bleak leaf
#

This would probably be better asked on the rm-docker repo. @void meteor may be willing to respond here though.

void meteor
#

save_vm saves a snapshot to /opt/root/rootfs.qcow2. So for it to persist accross runs of the container that should be in a volume. Looks like the dockerfile has:

# Mount to presist rootfs
VOLUME /opt/root

So not sure if docker will always mount that as a volume. I've never tried save_vm outside of building the image itself.

Btw, instead of codexctl you can just pass --build-arg fw_version=3.8.2 when building the image.