# Your Docker Host Is Patched. Your Containers Might Not Be.

DevFeed: [Your Docker Host Is Patched. Your Containers Might Not Be.](<https://devfeed.tech/articles/your-docker-host-is-patched-your-containers-might-not-be-100735.md>)

Original publisher: [Read original article](<https://www.virtualizationhowto.com/2026/10/your-docker-host-is-patched-your-containers-might-not-be/>)

Author: Brandon Lee

Published: 2026-10-26T12:22:13Z

Content type: article

Language: en

Sources: [Virtualization Howto](<https://devfeed.tech/sources/virtualization-howto.md>)

Topics: [container-security](<https://devfeed.tech/topics/container-security.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [image tags vs digests](<https://devfeed.tech/topics/image-tags-vs-digests.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [about-you](<https://devfeed.tech/tags/about-you.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [containers](<https://devfeed.tech/tags/containers.md>), [discussion](<https://devfeed.tech/tags/discussion.md>), [docker](<https://devfeed.tech/tags/docker.md>), [first](<https://devfeed.tech/tags/first.md>), [howto](<https://devfeed.tech/tags/howto.md>), [i](<https://devfeed.tech/tags/i.md>), [patched](<https://devfeed.tech/tags/patched.md>), [patching](<https://devfeed.tech/tags/patching.md>), [php2shell](<https://devfeed.tech/tags/php2shell.md>), [post](<https://devfeed.tech/tags/post.md>), [reddit](<https://devfeed.tech/tags/reddit.md>), [this](<https://devfeed.tech/tags/this.md>), [virtualization](<https://devfeed.tech/tags/virtualization.md>), [vs](<https://devfeed.tech/tags/vs.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

Patching a Docker host does not patch software inside its containers: containers share the host kernel but carry their own filesystems, applications, and dependencies. The article recommends inventorying containers with `docker ps` or `docker compose images`, then checking relevant documentation and advisories and scanning images with Trivy or Grype (also available through Dockhand). A newer image is not automatically safer, so review release notes and interpret scan results. Updating requires pulling and recreating containers with Compose; restarting alone keeps the old image. Tags may be mutable or fixed, while digest pins require changing the referenced digest to select new content. For images you build, rebuild from an updated base, account for pinned references and build cache, then verify the running image and application. A changed image ID confirms replacement, not that a specific vulnerability was fixed. Host, engine, and image updates need separate checks.

## Source excerpt

This past week, I saw some discussion on Reddit around the recent PHP2shell vulnerability and how some were wondering on patching their hosts vs patching their Docker containers. This confusion... The post Your Docker Host Is Patched. Your Containers Might Not Be. appeared first on Virtualization Howto.