Kubernetes removed its built-in dockershim in version 1.24. The change affected the interface between kubelet and the container runtime on a node; it did not remove support for container images created with Docker. That distinction matters to administrators planning upgrades, because a build pipeline can remain compatible while node-level commands, runtime sockets, security agents and log collectors require changes.
The earlier integration allowed kubelet to use Docker Engine through a compatibility layer. Today kubelet expects a runtime compatible with the Container Runtime Interface (CRI), such as containerd or CRI-O. Teams can also operate Docker Engine through a separately maintained CRI adapter, cri-dockerd, if that architecture is supported for their environment. The question is therefore not whether Docker remains useful; it is which component is responsible for executing containers on production nodes and how kubelet communicates with it.
What Kubernetes actually removed
Dockershim translated kubelet runtime requests into the Docker Engine API. Maintaining that adapter inside Kubernetes imposed a compatibility burden as the CRI ecosystem evolved. When Kubernetes 1.24 removed the in-tree adapter, direct kubelet-to-Docker-Engine operation stopped being a supported default. Clusters still require a runtime, but they no longer need Docker Engine simply to start Pods.
A container runtime pulls an image, prepares a container, starts and stops processes, reports container state, and participates in resource controls and logging. Kubelet remains responsible for reconciling desired Pod state and reporting node status; the Container Network Interface and storage integration solve separate networking and volume concerns. Replacing the runtime does not replace the scheduler, networking implementation, storage driver or workload security policy. These boundaries help identify which systems need testing during migration.
Containerd is a general-purpose runtime used in many Kubernetes deployments. CRI-O is designed around Kubernetes CRI integration. Both can run compatible container images; neither automatically guarantees stronger isolation or faster applications in every configuration. Kernel, node operating system, sandboxing controls, runtime settings, image provenance and vendor support remain decisive factors.
Docker-built images are not the same as Docker Engine
Docker is also an image-building and developer workflow ecosystem. A developer may still build an image locally with Docker, push it to a registry and reference it in a Deployment. CRI-compatible runtimes can retrieve and execute supported OCI-style images, so ordinary image build and distribution workflows do not need to be abandoned merely because the node runtime changed.
Compatibility is not permission to ignore image details. Teams should validate the image architecture, entrypoint, user permissions, registry authentication, pull policies, supported media types, and any expected operating-system features. A successful pull does not prove the application starts correctly or that a volume mount and network dependency behave as intended. Likewise, a previously successful Docker-based local test does not guarantee correct behavior under Kubernetes resource limits or Pod security constraints.
The node runtime and application image must be considered separately. If an outage follows a runtime migration, first distinguish an image-pull failure, container-create failure, application crash, CNI networking fault, or persistent-storage mount problem. Those symptoms may appear together in a Pod’s events, but they have different owners and remediation paths.
Inventory the actual node runtime before making a change
A migration plan should start with facts obtained from the existing cluster, not with an assumed runtime based on when it was created. Node status exposes a container-runtime version; administrators can inspect that field alongside Kubernetes version, node OS, architecture and kubelet configuration. For self-managed nodes, the configured CRI endpoint and its socket are important because a host can have multiple container tools installed without kubelet using all of them.
At the cluster level, a read-only command such as kubectl get nodes -o wide helps identify the node estate, while inspecting .status.nodeInfo.containerRuntimeVersion supplies the runtime family and version. On a host, kubelet configuration and the configured endpoint resolve any remaining ambiguity. Do not infer the active runtime simply because a docker executable is present on the machine.
Inventory dependencies that talk directly to the Docker socket or expect Docker-specific logs and paths. Examples include privileged diagnostic Pods that execute docker ps, legacy monitoring exporters, log collection agents, cleanup jobs and scripts that restart the Docker daemon. These integrations can fail even when every application image still starts. A separate compatibility test for those agents is more informative than testing only a sample Deployment.
Sequence a self-managed runtime migration safely
First select a runtime version supported by the Kubernetes version, node operating system and distribution or vendor. Record the existing CRI endpoint, runtime service settings, image and log locations, installed CNI components, storage dependencies and a node replacement plan. For managed Kubernetes, the provider controls some or all runtime choices; follow the provider’s supported node-image or node-pool upgrade path instead of adapting an arbitrary host procedure.
Where possible, create a new node pool with the target runtime rather than changing the engine in place across every existing node. Deploy a representative workload set to the new pool, including a service with network policy, a stateful Pod, image pulls from a private registry, a logging agent and any privileged operational tooling. A test that includes only a stateless web container misses the dependencies most likely to reveal migration problems.
Drain nodes using controlled disruption budgets and maintenance procedures, then observe readiness, replacement scheduling, network connectivity and volume attachment before retiring the previous nodes. Verify the permitted disruption for stateful applications and long-running jobs. The ability to move a Pod does not prove that an application checkpoint, session, connection or database replica is ready for a forced relocation.
Define rollback in terms of node capacity and workload placement. Keeping a known-good node pool available during migration is often safer than trying to reinstall an old container engine on a failed host. Record the criteria that trigger a rollback: rising Pending Pods, image pull errors, unexpected OOM kills, failed CSI mounts, missing logs, security-agent failures or degraded business transactions. Operators need clear evidence and a rehearsed response, not only an estimated migration duration.
Observability and security integrations need separate proof
Some existing telemetry collectors rely on Docker’s socket, cgroup layout, file paths or event API. After a runtime change they may report empty dashboards while the cluster is otherwise functional. Check container logs through the Kubernetes API, node logging paths, metrics collection, trace continuity, resource limits and the actual log pipeline. Treat a missing dashboard as a monitoring failure to investigate, not automatic evidence that application processes have disappeared.
Security enforcement is similarly layered. Choosing containerd or CRI-O does not automatically make every Pod non-root, block privileged mounts or validate image signatures. Review Pod Security Standards, seccomp and AppArmor or SELinux profiles where supported, node access, registry admission controls, workload identities and the security agent’s compatibility with the new runtime. An agent that previously monitored Docker’s daemon may need a different connector or detection method.
Runtime permissions are especially sensitive on shared nodes. Restrict direct runtime socket access, verify who can use privileged containers, and avoid giving observability tools more authority than required. A socket that can create arbitrary containers often offers far more power than a routine log-reading credential. The runtime transition is a good occasion to document these privileges, but its success should be measured by actual policy and observability evidence, not by an assumption that the new runtime is safer by default.
Keep the image pipeline independent of the node runtime
Existing CI/CD pipelines can continue to produce versioned images using Docker or other OCI-compatible builders. A runtime migration should not force an unrelated registry, tagging or build system replacement. However, it is worth checking that the build publishes the architectures used by target nodes, pins reproducible dependencies, scans relevant layers and records an immutable image digest for deployment.
The practical meaning of Docker images changes little: an image still packages the filesystem and metadata necessary to start a process. Operational expectations may change around how an image is pulled, cached and observed on each node. When comparing pre- and post-migration behavior, pin the same image digest and application configuration so that changes in source code or package dependencies do not confuse the runtime diagnosis.
A useful acceptance test follows one image from registry pull through Pod creation, readiness, service discovery, outbound connectivity, shutdown and restart. Record both Kubernetes events and user-visible outcomes. If the image runs but clients cannot connect, inspect the network and routing path rather than assuming that Docker compatibility was lost. If a workload runs but no logs arrive, isolate the telemetry dependency instead of rebuilding the image.
Distinguish the migration you need from one you have already completed
Many clusters already use containerd or CRI-O and are unaffected by the old dockershim removal. Some organizations continue to use Docker to build, tag or test images on developer workstations while their production nodes run another CRI-compatible runtime. Others rely on Docker Engine through cri-dockerd for a specific supported operational requirement. These cases should not be collapsed into a single recommendation to “remove Docker everywhere.”
For an upgrade assessment, ask four separate questions: what runtime kubelet uses now; whether the planned Kubernetes release supports that endpoint; which node-local applications depend on Docker interfaces; and whether all representative workloads can run and be observed on the target runtime. Each answer changes the necessary remediation. Where the existing runtime is supported and operational, an urgent runtime migration may be unnecessary even if older documentation still mentions dockershim.
The durable lesson from Kubernetes 1.24 is interface separation. Build tools create images; a compatible runtime executes containers; kubelet reconciles Pod state; and networking, storage, security and telemetry components each have their own contracts. Keeping those contracts explicit makes both routine upgrades and incident investigations more predictable than treating Kubernetes and Docker as one indivisible system.