Skip to content

1.13 experimental: checkpoint/restore not working #1059

@thaJeztah

Description

@thaJeztah

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

/cc @justincormack @londoncalling

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions