# \[V3\] Errors with cert-issuer on Docker

**URL:** <https://community.blockcerts.org/t/v3-errors-with-cert-issuer-on-docker/3301>\
**Category:** Technical\
**Created:** [October 19, 2022, 9:30am UTC](https://community.blockcerts.org/t/v3-errors-with-cert-issuer-on-docker/3301 "2022-10-19T09:30:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dallarosa](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dallarosa](https://community.blockcerts.org/u/dallarosa)\
**Post date:** [October 19, 2022, 4:24pm UTC](https://community.blockcerts.org/t/v3-errors-with-cert-issuer-on-docker/3301/2 "2022-10-19T16:24:38Z")

</div>

Ok!  
I was able to solve my own problem.  
It seems that for the bitcoin configurations to work, you need to add a `[regtest]` to the top of the bitcoin.conf. That will fix the error.

The change is in the Dockerfile

> $‘rpcuser=foo\nrpcpassword=bar\nrpcport=8332\nregtest=1\nrelaypriority=0\nrpcallowip=127.0.0.1\nrpcconnect=127.0.0.1\n’ \> /root/.bitcoin/bitcoin.conf \

becomes

> $‘[regtest]\nrpcuser=foo\nrpcpassword=bar\nrpcport=8332\nregtest=1\nrelaypriority=0\nrpcallowip=127.0.0.1\nrpcconnect=127.0.0.1\n’ \> /root/.bitcoin/bitcoin.conf \

I’ve also sent a Pull Request with the fix

> <https://github.com/blockchain-certificates/cert-issuer/pull/248>
>
> Added the header \[regtest\] to bitcoin.conf, fixing the error:
> 
> "Error: Config …setting for -rpcport only applied on regtest network when in \[regtest\] section."

---

_[View the full topic](https://community.blockcerts.org/t/v3-errors-with-cert-issuer-on-docker/3301)._
