Running docker and ipfs

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

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