Chapter 12. The Expanding Landscape
The landscape of tools that are available to interact with Linux containers is constantly evolving, especially with the significant adoption that Kubernetes has experienced for many years.
In this chapter, we are going to take a very quick tour of a few tools that are inspired by Docker but are often focused on improving specific use cases. This is not intended to be a comprehensive list but instead is intended to simply give you a taste of some of the categories and options that are available to explore.
Client Tools
In this section, we are going to introduce three command-line tools: nerdctl, podman, and buildah. All of these tools might be useful to anyone familiar with Docker and its common workflows.
nerdctl
Although crictl1 is installed by default in many containerd-based environments, nerdctl is an easy-to-use Docker-compatible CLI for containerd, which is worth checking out. This means that nerdctl can provide a very easy migration path for people and scripts that use Docker but need to support containerd systems that are not running the Docker daemon.
As a quick example, if you spin up a small Kubernetes cluster with kind, which we discussed in “Kind”, you should end up with a containerd-based Kubernetes cluster that is not directly compatible with the docker CLI:
$kindcreatecluster--namenerdctlCreating cluster "nerdctl" ……$dockercontainerexec-tinerdctl-control-plane/bin/bash
You should now be inside the kind/Kubernetes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access