# Docker for a clean Zcash install

**URL:** <https://forum.zcashcommunity.com/t/docker-for-a-clean-zcash-install/33711>\
**Category:** Technical Support\
**Created:** [June 5, 2019, 2:57pm UTC](https://forum.zcashcommunity.com/t/docker-for-a-clean-zcash-install/33711 "2019-06-05T14:57:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Godot](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/godot/32/13030_2.png) [@Godot](https://forum.zcashcommunity.com/u/Godot)\
**Post date:** [June 5, 2019, 2:57pm UTC](https://forum.zcashcommunity.com/t/docker-for-a-clean-zcash-install/33711/1 "2019-06-05T14:57:10Z")

</div>

Do you know any Dockerfile (i’m looking for the list of commands) for running a new node from 0?  
Also, it is possibile to store the blockchain in the host memory instead the docker filesystem?

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/garethtdavies/32/210_2.png) [@garethtdavies](https://forum.zcashcommunity.com/u/garethtdavies)\
**Post date:** [June 5, 2019, 3:08pm UTC](https://forum.zcashcommunity.com/t/docker-for-a-clean-zcash-install/33711/2 "2019-06-05T15:08:21Z")

</div>

This is probably the best one: [Add dockerfile by ianamunoz · Pull Request #3908 · zcash/zcash · GitHub](https://github.com/zcash/zcash/pull/3908/files)

There is a [Dockerfile](https://github.com/zcash/zcash/blob/64461e86390f393d7216e2d20c97f53e12a83f68/Dockerfile) and also [instructions](https://github.com/zcash/zcash/blob/64461e86390f393d7216e2d20c97f53e12a83f68/doc/docker-usage.md) on how to use.

This uses Docker volumes for the params and data directories. You could use [bind mounts](https://docs.docker.com/storage/bind-mounts/) and the zcash.conf file in that example is mounted in that fashion but it’s the same for directories too.
