Mapping from dockercli to crictl (Life after docker is crictl)

Vineet Kumar
1 min readJun 24, 2023

crictl is a command-line interface for CRI-compatible container runtimes. You can use it to inspect and debug container runtimes and applications on a Kubernetes node. crictl and its source are hosted in the cri-tools repository.

This page provides a reference for mapping common commands for the docker command-line tool into the equivalent commands for crictl.

Mapping from docker CLI to crictl

The exact versions for the mapping table are for docker CLI v1.40 and crictl v1.19.0. This list is not exhaustive. For example, it doesn't include experimental docker CLI commands.

Note: The output format of crictl is similar to docker CLI, despite some missing columns for some CLI. Make sure to check output for the specific command if your command output is being parsed programmatically.

Retrieve debugging information

Perform Changes

Supported only in crictl

Ref: https://kubernetes.io/docs/reference/tools/map-crictl-dockercli/#retrieve-debugging-information

--

--