{"id":13436737,"url":"https://github.com/checkpoint-restore/criu","last_synced_at":"2025-05-13T19:17:14.675Z","repository":{"id":13313104,"uuid":"15999638","full_name":"checkpoint-restore/criu","owner":"checkpoint-restore","description":"Checkpoint/Restore tool","archived":false,"fork":false,"pushed_at":"2025-05-07T15:09:17.000Z","size":21694,"stargazers_count":3215,"open_issues_count":246,"forks_count":638,"subscribers_count":69,"default_branch":"criu-dev","last_synced_at":"2025-05-07T16:25:39.753Z","etag":null,"topics":["blcr","checkpoint","container","containers","criu","dmtcp","highly-available","linux","memory-tracking","migration","parasite","post-copy","restore","snapshot","suspend","userfaultfd","zero-downtime"],"latest_commit_sha":null,"homepage":"criu.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/checkpoint-restore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-01-17T12:53:25.000Z","updated_at":"2025-05-07T15:09:22.000Z","dependencies_parsed_at":"2023-01-14T12:25:03.532Z","dependency_job_id":"5ac8577d-db59-4e33-b185-5f442a11f14c","html_url":"https://github.com/checkpoint-restore/criu","commit_stats":{"total_commits":11494,"total_committers":203,"mean_commits":56.62068965517241,"dds":0.7863232991125805,"last_synced_commit":"32d5a766eeb8a41e52a1c0234bbf2c5757f64b4b"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkpoint-restore%2Fcriu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkpoint-restore%2Fcriu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkpoint-restore%2Fcriu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkpoint-restore%2Fcriu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/checkpoint-restore","download_url":"https://codeload.github.com/checkpoint-restore/criu/tar.gz/refs/heads/criu-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010828,"owners_count":21999004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blcr","checkpoint","container","containers","criu","dmtcp","highly-available","linux","memory-tracking","migration","parasite","post-copy","restore","snapshot","suspend","userfaultfd","zero-downtime"],"created_at":"2024-07-31T03:00:51.721Z","updated_at":"2025-05-13T19:17:14.636Z","avatar_url":"https://github.com/checkpoint-restore.png","language":"C","funding_links":[],"categories":["HarmonyOS","C","Install from Source","linux","\u003e 1k ★"],"sub_categories":["Windows Manager","Snapshots Management/System Recovery"],"readme":"[![X86_64 GCC Test](https://github.com/checkpoint-restore/criu/workflows/X86_64%20GCC%20Test/badge.svg)](\n    https://github.com/checkpoint-restore/criu/actions/workflows/x86-64-gcc-test.yml)\n[![Docker Test](https://github.com/checkpoint-restore/criu/actions/workflows/docker-test.yml/badge.svg)](\n    https://github.com/checkpoint-restore/criu/actions/workflows/docker-test.yml)\n[![Podman Test](https://github.com/checkpoint-restore/criu/actions/workflows/podman-test.yml/badge.svg)](\n    https://github.com/checkpoint-restore/criu/actions/workflows/podman-test.yml)\n[![CircleCI](https://circleci.com/gh/checkpoint-restore/criu.svg?style=svg)](\n    https://circleci.com/gh/checkpoint-restore/criu)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://criu.org/w/images/1/1c/CRIU.svg\" width=\"256px\"/\u003e\u003c/p\u003e\n\n## CRIU -- A project to implement checkpoint/restore functionality for Linux\n\nCRIU (stands for Checkpoint and Restore in Userspace) is a utility to checkpoint/restore Linux tasks.\n\nUsing this tool, you can freeze a running application (or part of it) and checkpoint\nit to a hard drive as a collection of files. You can then use the files to restore and run the\napplication from the point it was frozen at. The distinctive feature of the CRIU\nproject is that it is mainly implemented in user space. There are some more projects\ndoing C/R for Linux, and so far CRIU [appears to be](https://criu.org/Comparison_to_other_CR_projects)\nthe most feature-rich and up-to-date with the kernel.\n\nCRIU project is (almost) the never-ending story, because we have to always keep up with the\nLinux kernel supporting checkpoint and restore for all the features it provides. Thus we're\nlooking for contributors of all kinds -- feedback, bug reports, testing, coding, writing, etc.\nPlease refer to [CONTRIBUTING.md](CONTRIBUTING.md) if you would like to get involved.\n\nThe project [started](https://criu.org/History) as the way to do live migration for OpenVZ\nLinux containers, but later grew to more sophisticated and flexible tool. It is currently\nused by (integrated into) OpenVZ, LXC/LXD, Docker, and other software, project gets tremendous\nhelp from the community, and its packages are included into many Linux distributions.\n\nThe project home is at http://criu.org. This wiki contains all the knowledge base for CRIU we have.\nPages worth starting with are:\n- [Installation instructions](http://criu.org/Installation)\n- [A simple example of usage](http://criu.org/Simple_loop)\n- [Examples of more advanced usage](https://criu.org/Category:HOWTO)\n- Troubleshooting can be hard, some help can be found [here](https://criu.org/When_C/R_fails), [here](https://criu.org/What_cannot_be_checkpointed) and [here](https://criu.org/index.php?title=FAQ)\n\n### Checkpoint and restore of simple loop process\n\u003cp align=\"center\"\u003e\u003ca href=\"https://asciinema.org/a/232445\"\u003e\u003cimg src=\"https://asciinema.org/a/232445.png\" width=\"572px\" height=\"412px\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Advanced features\n\nAs main usage for CRIU is live migration, there's a library for it called P.Haul. Also the\nproject exposes two cool core features as standalone libraries. These are libcompel for parasite code\ninjection and libsoccr for TCP connections checkpoint-restore.\n\n### Live migration\n\nTrue [live migration](https://criu.org/Live_migration) using CRIU is possible, but doing\nall the steps by hands might be complicated. The [phaul sub-project](https://criu.org/P.Haul)\nprovides a Go library that encapsulates most of the complexity. This library and the Go bindings\nfor CRIU are stored in the [go-criu](https://github.com/checkpoint-restore/go-criu) repository.\n\n\n### Parasite code injection\n\nIn order to get state of the running process CRIU needs to make this process execute\nsome code, that would fetch the required information. To make this happen without\nkilling the application itself, CRIU uses the [parasite code injection](https://criu.org/Parasite_code)\ntechnique, which is also available as a standalone library called [libcompel](https://criu.org/Compel).\n\n### TCP sockets checkpoint-restore\n\nOne of the CRIU features is the ability to save and restore state of a TCP socket\nwithout breaking the connection. This functionality is considered to be useful by\nitself, and we have it available as the [libsoccr library](https://criu.org/Libsoccr).\n\n## Licence\n\nThe project is licensed under GPLv2 (though files sitting in the lib/ directory are LGPLv2.1).\n\nAll files in the images/ directory are licensed under the Expat license (so-called MIT).\nSee the images/LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpoint-restore%2Fcriu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckpoint-restore%2Fcriu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpoint-restore%2Fcriu/lists"}