about summary refs log tree commit diff
path: root/users/fcuny/blog
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-04-15 19:40:00 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-11 13:57:41 -0700
commitf0d3cb4797e9613dc565782b14ef19ab6e494ffb (patch)
tree0348ccc404811335057b02066030251c7f3065b2 /users/fcuny/blog
parentpull a container into a namespace (diff)
downloadworld-f0d3cb4797e9613dc565782b14ef19ab6e494ffb.tar.gz
add a lease to the Go context
This will ensure that our container will not be deleted while we work on
it. In addition, a default expiry of 24 hours will be set on it once the
lease is released (once the program is completed).

See [1] for more details.

[1] https://github.com/containerd/containerd/blob/261c107ffc4ff681bc73988f64e3f60c32233b37/docs/garbage-collection.md

Signed-off-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'users/fcuny/blog')
0 files changed, 0 insertions, 0 deletions