码头暂停和恢复使用criu [英] docker suspend and resume using criu

查看:212
本文介绍了码头暂停和恢复使用criu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从此版本的源代码中建立码头服务器:


https://github.com/boucher/docker/tree/cr-combined

I am building docker from this version of this source code:
https://github.com/boucher/docker/tree/cr-combined

git clone -b cr-combined --single-branch https://github.com/boucher/docker.git

cd docker

cd docker

#make build
#make binary

然后复制生成的文件@。/ bundles /../docker到usr / bin目录
重新打开终端并再次启动Docker引擎。
它显示我正在使用我自己的版本,但
这个版本应该有两个主要的docker命令,不会出现在我的一个
1-检查点
2-恢复

And then copied the resulting file @./bundles/../docker to the usr/bin directory After reopening the terminal and starting the docker engine again. its shows that i am using my own built version but This version should have two main docker commands that won't show up in my built one 1- checkpoint 2- restore

你可以帮助我,告诉我哪里错了

could you please help me and tell me where it went wrong

推荐答案

这是我做的:

$ git clone https://github.com/boucher/docker
$ cd docker
$ git checkout cr-combined
$ env AUTO_GOPATH=1 DOCKER_EXPERIMENTAL=1 \
    DOCKER_BUILDTAGS='exclude_graphdriver_btrfs \
    exclude_graphdriver_devicemapper' ./hack/make.sh binary
$ ./bundles/1.10.0-dev/binary/docker-1.10.0-dev  --help | grep checkpoint
checkpoint Checkpoint one or more running containers
restore    Restore one or more checkpointed containers

希望这有帮助。

这篇关于码头暂停和恢复使用criu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆