Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkpoint/Restore on Mac findings #2

Open
ghost opened this issue Oct 6, 2017 · 0 comments
Open

Checkpoint/Restore on Mac findings #2

ghost opened this issue Oct 6, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 6, 2017

I'm running Version 17.09.0-ce-mac35 (19611) and I wanted to post my findings because I was troubleshooting for a loooong time. This is not an issue with this repo, just a reference for others.

-When a checkpoint directory is not specified, the checkpoint lives inside the docker VM.

-If CRIU crashes and a checkpoint directory is specified, the crash log is inaccessible (fails to map the file I believe). I docker'd into the Docker VM by using:

docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -I sh

Then copied my checkpoint into the VM to avoid this issue. Then if CRIU crashes, you docker back into the VM to access the log.

-I accessed the Docker API using a nodejs client and the default network adapter caused a CRIU crash. Setting the network adapter to Host solved the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants