Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Containerd
(edit)
Revision as of 09:28, 26 October 2021
78 bytes removed
,
09:28, 26 October 2021
no edit summary
Line 7:
Line 7:
Pull "ubuntu:latest" image if not already available locally.
Pull "ubuntu:latest" image if not already available locally.
−
ctr image pull docker.io/library/
ubuntu
:
latest
+
ctr image pull docker.io/library/
redis
:
alpine
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/
ubuntu
:
latest looper /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
+
ctr run --runtime io.containerd.runc.v1 -d docker.io/library/
redis
:
alpine redis
−
Create container checkpoint
Create container checkpoint
−
ctr c checkpoint --rw --task
looper
checkpoint/
looper
:20211011
+
ctr c checkpoint --rw --task
redis
checkpoint/
redis
:20211011
Restore container from checkpoint
Restore container from checkpoint
−
ctr c restore
looper
-
1
checkpoint/
looper
:20211011
+
ctr c restore
redis
-
debug
checkpoint/
redis
:20211011
Radostin
332
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ