Closed solarkennedy closed 3 years ago
Hi @solarkennedy, thanks for opening this PR! When I look at the diff though, the only things I see changed are .gitignore
, a new Go version specified in go.mod
, and a newline added in hook.go
; were there other changes that you were intending to make that got missed?
Whoops! I was comparing my branch to my fork's master
.
This was already done in https://github.com/awslabs/oci-add-hooks/pull/7
Nothing to see here :)
Thanks @solarkennedy!
This adds support for the new hooks that deprecate prestart in newer versions of containerd:
Note that you need to be on container runtime that supports the OCI runtime spec >= v1.0.2 to manipulate these hooks, so I didn't add it into the README, but at least this tool will understand them if present.
Relates to https://github.com/opencontainers/runtime-spec/pull/1008
cc @alban
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.