how-to-create-custom-busybox-image
Since ctr
does not have any build commands, we will use the docker CLI
. ctr
provides an import command which can import images. The steps involve creating a Dockerfile. It is important to include #!/bin/sh
as the first line of the file which is going to be the custom workload.
Run these commands (might require sudo privileges) : This will import the custom workload inside the my-busybox image
The following commands give can be used to run the custom workload :
We have a cedana wrapper script, which performs IO redirection of the workload. It is crucial because it enabled CRIU restore to work seamlessly. The executable compiled by building this wrapper, as well as the actual workload must be present inside the custom busybox image if we wish to perform checkpoint/restore.
Last updated
Was this helpful?