{"id":88409,"date":"2023-02-28T21:33:21","date_gmt":"2023-02-28T21:33:21","guid":{"rendered":"https:\/\/www.techrepublic.com\/?p=4043862"},"modified":"2023-02-28T21:33:21","modified_gmt":"2023-02-28T21:33:21","slug":"how-to-enable-the-docker-checkpoint-feature-to-take-snapshots-of-your-running-containers","status":"publish","type":"post","link":"https:\/\/cloudnewshub.com\/?p=88409","title":{"rendered":"How to enable the Docker checkpoint feature to take snapshots of your running containers"},"content":{"rendered":"<div id>\n<p> Learn how to turn on the Docker checkpoint feature for running container snapshots with this quick tutorial from expert Jack Wallen. <\/p>\n<\/div>\n<div id>\n<figure id=\"attachment_4043863\" aria-describedby=\"caption-attachment-4043863\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-article wp-image-4043863\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2023\/02\/how-to-enable-the-docker-checkpoint-feature-to-take-snapshots-of-your-running-containers.jpg\" alt=\"Young woman with laptop outdoors, weekend away in container house in countryside.\" width=\"770\" height=\"531\"><figcaption id=\"caption-attachment-4043863\" class=\"wp-caption-text\">Image: Halfpoint\/Adobe Stock<\/figcaption><\/figure>\n<p>In a recent TechRepublic video, Jack Wallen shows how to enable the Docker checkpoint feature to take snapshots of your running containers to save a state for backup or later usage. The following is an edited transcript of his tutorial.<\/p>\n<p>First, you must add the repository for the CRIU package with the following command: <code>SUDU add-apt-repository ppa:criu\/ppa<\/code>.<\/p>\n<p>Update APT with this command: <code>sudo apt-get update<\/code>.<\/p>\n<p>Then install CRIU with this command: <code>sudo apt-get install criu -y<\/code>.<\/p>\n<p>Next, we must enable Docker experimental features.<\/p>\n<p>First, create a new file with the command <code>sudo nano \/etc\/docker\/daemon.json<\/code>.<\/p>\n<p>In that file, add the following: <code>{\"Experimental\": true}<\/code>. Save and close the file.<\/p>\n<p>Restart the Docker Daemon with <code>sudo systemctl restart docker<\/code>.<\/p>\n<p>Deploy an NGINX container with the command <code>docker run --name nginx-checkpoint -p 8005:80 -d nginx<\/code>.<\/p>\n<p>Create the checkpoint with this command: <code>docker checkpoint create --leave-running=true nginx-checkpoint checkpoint<\/code>.<\/p>\n<p>For more tutorials from Jack Wallen, <a href=\"https:\/\/www.youtube.com\/channel\/UCKyMiy1zmJ7aZ8aP6DLZLIA\" target=\"_blank\" rel=\"noopener noreferrer\">subscribe to TechRepublic\u2019s YouTube channel How To Make Tech Work<\/a> \u2014 and remember to like this video.<\/p>\n<p> <!-- default newsletter at the end --> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to turn on the Docker checkpoint feature for running container snapshots with this quick tutorial from expert Jack Wallen. Image: Halfpoint\/Adobe Stock In a recent TechRepublic video, Jack Wallen shows how to enable the Docker checkpoint feature to take snapshots of your running containers to save a state for backup or later usage. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":88410,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,783,315],"tags":[],"class_list":["post-88409","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cloudsync","category-containers"],"_links":{"self":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts\/88409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88409"}],"version-history":[{"count":0,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts\/88409\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/media\/88410"}],"wp:attachment":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}