# Error starting daemon

**URL:** <https://forums.minaprotocol.com/t/error-starting-daemon/5760>\
**Category:** Community\
**Created:** [May 26, 2022, 4:42pm UTC](https://forums.minaprotocol.com/t/error-starting-daemon/5760 "2022-05-26T16:42:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruchus](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.minaprotocol.com/ruchus/32/1789_2.png) [@ruchus](https://forums.minaprotocol.com/u/ruchus)\
**Post date:** [May 26, 2022, 4:42pm UTC](https://forums.minaprotocol.com/t/error-starting-daemon/5760/1 "2022-05-26T16:42:52Z")

</div>

I get next error when i set the variable **EXTRA\_FLAGS=" --block-producer-key /root/keys2/my-wallet2"** in .mina-env  
If not, daemon start normally.

I don’t know what’s the error.  
Permissions to directory and files are checked and created with mina-generate Keypair tool.

 ![169912984-f9ec9494-bed1-4400-91d3-41f108162c10](https://canada1.discourse-cdn.com/flex035/uploads/minaprotocol/original/2X/9/98805a5cbfa75a04a1f13edb35e7776b730ab96b.png)

Please, help.

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.minaprotocol.com/garethtdavies/32/1224_2.png) [@garethtdavies](https://forums.minaprotocol.com/u/garethtdavies)\
**Post date:** [May 27, 2022, 2:57am UTC](https://forums.minaprotocol.com/t/error-starting-daemon/5760/2 "2022-05-27T02:57:20Z")

</div>

It would be easier to assist on #mentor-nodes channel of the project Discord. But, as this is Docker my guess would be that you didn’t bind mount that directory to the same location in the container. Can you provide the full docker command you used?
