-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Docker 1.13 adds experimental support for checkpoint/restore, using CRIU (https://criu.org), see Docker Checkpoint & Restore.
This feature currently cannot be used on the Docker for Mac "beta" / "master" channel, because CRIU is not available in the VM.
Expected behavior
$ docker run --security-opt=seccomp:unconfined --name cr -d busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
$ docker checkpoint create cr checkpoint1
Actual behavior
$ docker run --security-opt=seccomp:unconfined --name cr -d busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
$ docker checkpoint create cr checkpoint1
Error response from daemon: Cannot checkpoint container cr: rpc error: code = 2 desc = exit status 1: "Unable to execute CRIU command: criu\n"
Information
Version 1.13.0-rc4-beta34 (14831)
Channel: Master
5987079516
Steps to reproduce the behavior
See above
CRIU should be available on Docker for Mac / Docker for Windows, or a note should be added to the "known issues" section
https://docs.docker.com/docker-for-mac/troubleshoot/#/known-issues
I opened an internal issue for this as well
jasisk, denis-rendler-evozon, whelanp, Ezku, rnorth and 5 more