Changes

Jump to navigation Jump to search
79 bytes added ,  09:06, 12 October 2021
no edit summary
Line 21: Line 21:  
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:
Line 103: Line 102:  
=== TTY ===
 
=== TTY ===
   −
Checkpointing an interactive container is currently not supported.  
+
Checkpointing an interactive container is supported by CRIU, runc and containerd, but not yet enabled in Docker.
 +
(See [[https://github.com/moby/moby/pull/38405 PR 38405]] for more information.)
    
=== Seccomp ===
 
=== Seccomp ===
277

edits

Navigation menu