You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed docker into the WSL distro and I want to build and run a container for my Java application. The goal is to create a checkpoint using OpenJ9 CRIU support. To do this the container needs to be started with --security-opt seccomp=unconfined
The attached zip archive contains the sample application and the scripts to reproduce the issue: criu_test.zip
Repro Steps
Have networkingMode = mirrored in the .wslconfig file
Install docker into the WSL distro
Extract the attached ZIP archive attached in "Other Software" into the WSL distro
Execute the script crac_test/criu_executable/build_criu_image_docker.sh
Expected Behavior
The script finishes and a docker container with checkpoint data is with the name osgi_deployment_criu is created.
Actual Behavior
The script blocks at creating the checkpoint inside the container. If you log into the container via
docker exec -it osgi_deployment_criu_checkpoint sh
and then look into the checkpoint logfile via
cat checkpointData/logs
you will see the following entry at the bottom
Error (compel/src/lib/ptrace.c:27): suspending seccomp failed: Operation not permitted
If I switch to networkingMode = NAT the script finishes as expected.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered:
hello @fipro78, thanks for reporting the issue and for your patience.
Unfortunately, at the moment there is no workaround for this issue, as mirrored networking mode requires registering some seccomp filters and the presence of those filters is causing the failure you pointed out.
Windows Version
Microsoft Windows [Version 10.0.22631.2861]
WSL Version
2.0.15.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 22.04
Other Software
I have installed docker into the WSL distro and I want to build and run a container for my Java application. The goal is to create a checkpoint using OpenJ9 CRIU support. To do this the container needs to be started with
--security-opt seccomp=unconfined
The attached zip archive contains the sample application and the scripts to reproduce the issue:
criu_test.zip
Repro Steps
networkingMode = mirrored
in the .wslconfig filecrac_test/criu_executable/build_criu_image_docker.sh
Expected Behavior
The script finishes and a docker container with checkpoint data is with the name
osgi_deployment_criu
is created.Actual Behavior
The script blocks at creating the checkpoint inside the container. If you log into the container via
and then look into the checkpoint logfile via
you will see the following entry at the bottom
If I switch to
networkingMode = NAT
the script finishes as expected.Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: