Changes

21 bytes removed ,  23:41, 26 February 2023
m
Update example
Line 11: Line 11:  
Create and run a container with ID "looper"
 
Create and run a container with ID "looper"
   −
  ctr run --runtime io.containerd.runc.v1 -d docker.io/library/redis:alpine redis
+
  ctr run -d docker.io/library/redis:alpine redis
    
Create container checkpoint
 
Create container checkpoint
   −
  ctr c checkpoint --rw --task redis checkpoint/redis:20211011
+
  ctr c checkpoint --rw --task redis checkpoint/redis:20230226
 
      
Restore container from checkpoint
 
Restore container from checkpoint
   −
  ctr c restore redis-debug checkpoint/redis:20211011
+
  ctr c restore --rw --live redis-debug checkpoint/redis:20230226
332

edits