Add mention of kubectl BuildKit CLI plugin

The buildkit-cli-for-kubectl project aims to provide a drop-in replacement for
`docker build` with compatible UX.  Some users looking to migrate off
dockershim may find this CLI plugin useful.

Signed-off-by: Daniel Hiltgen <hiltgend@vmware.com>
This commit is contained in:
Daniel Hiltgen 2020-12-03 10:58:06 -08:00
parent 03dc8b99b9
commit 43c34404cd
1 changed files with 3 additions and 2 deletions

View File

@ -141,13 +141,14 @@ runtime where possible.
Another thing to look out for is anything expecting to run for system maintenance
or nested inside a container when building images will no longer work. For the
former, you can use the [`crictl`][cr] tool as a drop-in replacement (see [mapping from docker cli to crictl](https://kubernetes.io/docs/tasks/debug-application-cluster/crictl/#mapping-from-docker-cli-to-crictl)) and for the
latter you can use newer container build options like [img], [buildah], or
[kaniko] that dont require Docker.
latter you can use newer container build options like [img], [buildah],
[kaniko], or [buildkit-cli-for-kubectl] that dont require Docker.
[cr]: https://github.com/kubernetes-sigs/cri-tools
[img]: https://github.com/genuinetools/img
[buildah]: https://github.com/containers/buildah
[kaniko]: https://github.com/GoogleContainerTools/kaniko
[buildkit-cli-for-kubectl]: https://github.com/vmware-tanzu/buildkit-cli-for-kubectl
For containerd, you can start with their [documentation] to see what configuration
options are available as you migrate things over.