# Docker volume is not recognized as epihemeral storage

**URL:** <https://discuss.kubernetes.io/t/docker-volume-is-not-recognized-as-epihemeral-storage/20351>\
**Category:** General Discussions\
**Created:** [June 18, 2022, 5:59am UTC](https://discuss.kubernetes.io/t/docker-volume-is-not-recognized-as-epihemeral-storage/20351 "2022-06-18T05:59:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoshwata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/yoshwata/32/10296_2.png) [@yoshwata](https://discuss.kubernetes.io/u/yoshwata)\
**Post date:** [June 18, 2022, 5:59am UTC](https://discuss.kubernetes.io/t/docker-volume-is-not-recognized-as-epihemeral-storage/20351/1 "2022-06-18T05:59:45Z")

</div>

### Cluster information:

Kubernetes version: 1.21  
Cloud being used: bare-metal  
Installation method: N/A  
Host OS: Ubuntu 20.04.3 LTS  
CNI and version: N/A  
CRI and version: N/A

I’m currently verifying ephemeral storage, but I had a problem. The docker volume, that is, the area specified by VOLUME in the Dockerfile, is not recognized as ephemeral storage on kubernetes. I set the limit of epihemeral storege in resources, but it was not evicted even if I put a large file in the area specified by VOLUME.

I came up with a way to remove the VOLUME statement by forking the image launched as a pod as an easy solution, and it actually worked. However, I don’t think it’s beautiful. Is there any other way to make the area specified by VOLUME recognized as epihemeral storage?
