Wednesday, March 1, 2023
HomeCloud ComputingAllow Docker's Checkpoint Characteristic to Take Snapshots

Allow Docker’s Checkpoint Characteristic to Take Snapshots


Discover ways to activate the Docker checkpoint characteristic for working container snapshots with this fast tutorial from knowledgeable Jack Wallen.

Young woman with laptop outdoors, weekend away in container house in countryside.
Picture: Halfpoint/Adobe Inventory

In a latest TechRepublic video, Jack Wallen reveals how one can allow the Docker checkpoint characteristic to take snapshots of your working containers to save lots of a state for backup or later utilization. The next is an edited transcript of his tutorial.

First, you have to add the repository for the CRIU bundle with the next command: SUDU add-apt-repository ppa:criu/ppa.

Replace APT with this command: sudo apt-get replace.

Then set up CRIU with this command: sudo apt-get set up criu -y.

Subsequent, we should allow Docker experimental options.

First, create a brand new file with the command sudo nano /and so forth/docker/daemon.json.

In that file, add the next: {"Experimental": true}. Save and shut the file.

Restart the Docker Daemon with sudo systemctl restart docker.

Deploy an NGINX container with the command docker run --name nginx-checkpoint -p 8005:80 -d nginx.

Create the checkpoint with this command: docker checkpoint create --leave-running=true nginx-checkpoint checkpoint.

For extra tutorials from Jack Wallen, subscribe to TechRepublic’s YouTube channel How To Make Tech Work — and keep in mind to love this video.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments