checkpointctl icon indicating copy to clipboard operation
checkpointctl copied to clipboard

Remapping of TCP listen ports

Open rst0git opened this issue 4 months ago • 0 comments

In many scenarios, users need to change the TCP port bound to a socket before restoring a container (e.g., https://github.com/checkpoint-restore/criu/issues/2710). CRIU saves this port in files.img, which is included in the checkpoint tar archive.

Currently, the only way to restore a container with a different port is to manually edit the checkpoint before restore. It would be great if checkpointctl provides such functionality, similar to the --tcp-listen-remap option of criu-image-streamer or the edit_files_img.py script.

rst0git avatar Aug 13 '25 06:08 rst0git