# Is it possible to disable local volume plugin?

**URL:** <https://forums.mobyproject.org/t/is-it-possible-to-disable-local-volume-plugin/308>\
**Category:** Support\
**Created:** [July 9, 2018, 9:24am UTC](https://forums.mobyproject.org/t/is-it-possible-to-disable-local-volume-plugin/308 "2018-07-09T09:24:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cofyc](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.mobyproject.org/cofyc/32/155_2.png) [@cofyc](https://forums.mobyproject.org/u/cofyc)\
**Post date:** [July 9, 2018, 9:24am UTC](https://forums.mobyproject.org/t/is-it-possible-to-disable-local-volume-plugin/308/1 "2018-07-09T09:24:48Z")

</div>

I am building a infrastructure with docker and kubernetes, allowing users to run their applications on it.  
If user uses `VOLUME` in Dockerfile, docker will mount a local volume for it. I don’t want this happen, because volumes are allocated on rootfs without space quota and numbers of volumes cannot be limited by Kubernetes.

Is it possible to disable docker local volume support?

---

<div class="post-metadata">

**Author:** ![thaJeztah](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.mobyproject.org/thajeztah/32/2_2.png) [@thaJeztah](https://forums.mobyproject.org/u/thaJeztah)\
**Post date:** [July 9, 2018, 9:32am UTC](https://forums.mobyproject.org/t/is-it-possible-to-disable-local-volume-plugin/308/2 "2018-07-09T09:32:48Z")

</div>

The daemon itself does not have an option to disable volumes, but you can use  
an “authz” plugin to block API requests that attempt to use a volume. For example;

[https://github.com/projectatomic/docker-novolume-plugin](https://github.com/projectatomic/docker-novolume-plugin) provides that functionality.

Note that some containers may not be able to run correctly without a volume,

because without a volume, data will be written in the container’s Copy-on-write

filesystem (which may either result in a significant performance loss, or in

failures, because CoW filesystems may not be fully POSIX compliant.

---

<div class="post-metadata">

**Author:** ![cofyc](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.mobyproject.org/cofyc/32/155_2.png) [@cofyc](https://forums.mobyproject.org/u/cofyc)\
**Post date:** [July 9, 2018, 9:38am UTC](https://forums.mobyproject.org/t/is-it-possible-to-disable-local-volume-plugin/308/3 "2018-07-09T09:38:41Z")

</div>

@thaJeztah Thanks! I’ll try it out.
