Docker does handle snapshots of running processes.
It's called checkpoint/restore, it utilizes the CRIU tooling to do this.
In terms of doing this in a CI env like actions where you may have different types of machines serving you, it may be problematic as the machine specs need to pretty closely match.
In terms of doing this in a CI env like actions where you may have different types of machines serving you, it may be problematic as the machine specs need to pretty closely match.