# Running docker and ipfs

**URL:** <https://discuss.ipfs.tech/t/running-docker-and-ipfs/6567>\
**Category:** Ecosystem and Usage\
**Created:** [October 30, 2019, 2:40pm UTC](https://discuss.ipfs.tech/t/running-docker-and-ipfs/6567 "2019-10-30T14:40:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zillerium](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/zillerium/32/2811_2.png) [@zillerium](https://discuss.ipfs.tech/u/zillerium)\
**Post date:** [October 30, 2019, 2:40pm UTC](https://discuss.ipfs.tech/t/running-docker-and-ipfs/6567/1 "2019-10-30T14:40:39Z")

</div>

I want to customise config in ipfs when using docker. Here is the code example below, any ideas are welcome -

sudo docker run -d --name ipfs-node   
-v /tmp/ipfs-docker-staging:/export -v /tmp/ipfs-docker-data:/data/ipfs   
-p 8080:8080 -p 4001:4001 -p 127.0.0.1:5001:5001   
jbenet/go-ipfs:latest

---

<div class="post-metadata">

**Author:** ![josselinchevalay](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/josselinchevalay/32/3078_2.png) [@josselinchevalay](https://discuss.ipfs.tech/u/josselinchevalay)\
**Post date:** [October 31, 2019, 8:05am UTC](https://discuss.ipfs.tech/t/running-docker-and-ipfs/6567/2 "2019-10-31T08:05:41Z")

</div>

why 127.0.0.1:5001:5001 ? maybe you can test -p 5001:5001
