Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Containerd
(edit)
Revision as of 19:05, 17 October 2021
89 bytes added
,
19:05, 17 October 2021
m
no edit summary
Line 5:
Line 5:
Create a container with ID "looper" based on the "ubuntu:latest" image.
Create a container with ID "looper" based on the "ubuntu:latest" image.
+
ctr image pull docker.io/library/ubuntu:latest
ctr run -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 -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 task kill -s
KILL
looper
+
ctr containers checkpoint looper cr0
−
ctr task rm
looperc
+
+
ctr task kill -s
SIGKILL
looper
+
ctr task rm
looper
ctr containers rm looper
ctr containers rm looper
Radostin
327
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