[CRIU] CRIU in Docker for Mac

Ross Boucher rboucher at gmail.com
Tue Jan 24 15:17:28 PST 2017


It seems that this function probably isn't implemented in musl:
https://git.musl-libc.org/cgit/musl/tree/src/sched/sched_getscheduler.c

Is there any hope for a workaround?

On Tue, Jan 24, 2017 at 6:09 PM Ross Boucher <rboucher at gmail.com> wrote:

> Installing ip6tables got a bit further, but now it seems to fail possibly
> on sched_getscheduler:
>
> (00.032508) Error (criu/cr-dump.c:134): Can't get sched policy for 2337:
> Function not implemented
>
> Full log: https://gist.github.com/boucher/5c8edcbf0c7f9d9e39ed1d74c09440e5
>
> On Tue, Jan 24, 2017 at 5:53 PM Ross Boucher <rboucher at gmail.com> wrote:
>
> Hey everyone,
>
> Since checkpoint/restore has shipped in experimental mode for Docker, I
> thought I'd try to get it working with Docker for Mac. I think this should
> be possible, since it seems building for Alpine linux has already been
> taken care of, but I haven't gotten it working just yet.
>
> What I have done is install CRIU 2.9, from the apk testing repository for
> alpine linux, in the d4m vm[1], then run a simple checkpoint on a busybox
> container. Here's the dump log:
>
> https://gist.github.com/boucher/2ac2de1d80ab59bce518d108ec8d0371
>
> Seems that some network script isn't working, but I'm not sure if the log
> is telling me that its an RPC script.
>
> Thanis,
> Ross
>
>
> [1]: You can access the vm with screen:
>
> screen
> ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20170124/f7d7c33d/attachment.html>


More information about the CRIU mailing list