docker suspend and resume using criu

前端 未结 1 452
予麋鹿
予麋鹿 2020-12-22 12:09

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

after cloning the code :

git clo         


        
相关标签:
1条回答
  • 2020-12-22 12:31

    Here is what I do:

    $ 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
    

    Hope this helps.

    0 讨论(0)
提交回复
热议问题