Blog
Thoughts on engineering, design, and building great products.
Volumes: ephemeral, hostPath, and projec...
DevOpsStorage
Volumes: ephemeral, hostPath, and projected
Files in a container vanish on restart, and two containers in one pod don't see each other's files. Volumes solve both. This article opens Part IX (storage) with volumes attached straight to a pod: emptyDir (a scratch area shared within the pod), hostPath (borrow a node directory), and projected (combine configMap/secret/downwardAPI/token into one place) — each tested for real, making clear which lives with the container, the pod, or the node.
K
KaiMay 24, 2026· 15 viewsVolumes and Bind Mounts: Storing Data Pe...
DevOpsDocker
Volumes and Bind Mounts: Storing Data Persistently
Data in a container vanishes when the container is removed. This article fixes that: named volumes managed by Docker and bind mounts that attach a host directory directly, when to use which, with examples proving the data survives.
K
KaiMay 23, 2026· 29 views