# Docker in Kubernetes pod

**URL:** https://discuss.kubernetes.io/t/docker-in-kubernetes-pod/28328
**Category:** General Discussions
**Tags:** development
**Created:** [May 20, 2024, 4:38pm UTC](https://discuss.kubernetes.io/t/docker-in-kubernetes-pod/28328 "2024-05-20T16:38:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Krithiga](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@Krithiga](https://discuss.kubernetes.io/u/Krithiga)
#### Post date: [May 20, 2024, 4:38pm UTC](https://discuss.kubernetes.io/t/docker-in-kubernetes-pod/28328/1 "2024-05-20T16:38:21Z")

</div>

We have a requirement where the host VM is not having docker installed.  
But a custom Kubernetes pod needs the docker.sock file in which the docker images are pulled and keep on running inside the custom pod.  
For docker daemon we need to run it as a separate pod and make it communicate with the above-mentioned custom pod.
