Changes

Jump to navigation Jump to search
128 bytes added ,  25 July
m
no edit summary
Line 1: Line 1:  
This article describes the status of CRIU integration with Docker, and how to use it.
 
This article describes the status of CRIU integration with Docker, and how to use it.
 +
 +
{{Note|We are working in close collaboration with the Podman developers to implement checkpoint/restore support and recommend using [[Podman]] as an alternative to Docker.}}
    
== Docker Experimental ==
 
== Docker Experimental ==
Line 21: Line 23:  
First, we create container:
 
First, we create container:
   −
  $ docker run -d --name looper --security-opt seccomp:unconfined busybox \
+
  $ docker run -d --name looper busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
          /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
      
You can verify the container is running by printings its logs:
 
You can verify the container is running by printings its logs:
509

edits

Navigation menu