Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion layers/wsl2_amd64/opt/ovmd
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,10 @@ main() {
}
echo "main(): wait....."
while true; do
sleep 1
# After enabling the "Resource Saver" mode in Docker Desktop for Windows, all resources under cgroup will be frozen.
# Since we rely on cgroup and cannot modify the logic of Docker Desktop for Windows, this is the only quick way to resolve the issue.
find /sys/fs/cgroup/openrc.* -name cgroup.freeze -exec sh -c 'echo 0 > {}' \;
sleep 0.5
done
}

Expand Down