<p>I have a <code>bitcoin.conf</code>.
It looks like this:</p>

<pre><code>testnet=1
server=1
rpcuser=Ulysseys
rpcpassword=YourrrPassword
rpctimeout=30
rpcport=8332
</code></pre>

<p>Now I try to run a container from this <a href="https://github.com/kylemanna/docker-bitcoind" rel="nofollow noreferrer">image</a>:</p>

<p>Create volume:</p>

<pre><code>$ docker volume create --name=bitcoind-data
</code></pre>

<p>Create container:</p>

<pre><code>docker run -v bitcoind-data:/bitcoin --name=bitcoind-node -d \
        -p 8333:8333 \
        -p 127.0.0.1:8332:8332 \
        -v /path/to/bitcoin.conf:/bitcoin/.bitcoin/bitcoin.conf \
        kylemanna/bitcoind -testnet
</code></pre>

<p>I go inside my container and check with <code>bitcoin-cli getinfo</code>:</p>

<pre><code>{
  "version": 140200,
  "protocolversion": 70015,
  "walletversion": 130000,
  "balance": 0.00000000,
  "blocks": 0,
  "timeoffset": 0,
  "connections": 0,
  "proxy": "",
  "difficulty": 1,
  "testnet": true,
  "keypoololdest": 1503649077,
  "keypoolsize": 100,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}
</code></pre>

<p>Testnet=true so that's okay but I don't see any log of data (<code>docker logs container-name</code>). Also my docker volume is still 17MB and 0 blocks.</p>

<p>What am I doing wrong?</p>

<p>When I load my <code>bitcoin.conf</code> in my <code>bitcoin-qt</code> on macosx it becomes green but remains on 'pending' to get the blockchain.</p>

<p>Is there something wrong with my config or is it maybe blocked on my network?</p>

<bitcoind>
How to run docker cointainer from kylemanna/docker-bitcoind on testnet
DenCowboy
# How to run docker cointainer from kylemanna/docker-bitcoind on testnet

(Asked by: username_0 on 2017-08-25)

I have a bitcoin.conf.
It looks like this:
testnet=1
server=1
rpcuser=Ulysseys
rpcpassword=YourrrPassword
rpctimeout=30
rpcport=8332

Now I try to run a container from this image:
Create volume:
$ docker volume create --name=bitcoind-data

Create container:
docker run -v bitcoind-data:/bitcoin --name=bitcoind-node -d \
        -p 8333:8333 \
        -p 127.0.0.1:8332:8332 \
        -v /path/to/bitcoin.conf:/bitcoin/.bitcoin/bitcoin.conf \
        kylemanna/bitcoind -testnet

I go inside my container and check with bitcoin-cli getinfo:
{
  "version": 140200,
  "protocolversion": 70015,
  "walletversion": 130000,
  "balance": 0.00000000,
  "blocks": 0,
  "timeoffset": 0,
  "connections": 0,
  "proxy": "",
  "difficulty": 1,
  "testnet": true,
  "keypoololdest": 1503649077,
  "keypoolsize": 100,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}

Testnet=true so that's okay but I don't see any log of data (docker logs container-name). Also my docker volume is still 17MB and 0 blocks.
What am I doing wrong?
When I load my bitcoin.conf in my bitcoin-qt on macosx it becomes green but remains on 'pending' to get the blockchain.
Is there something wrong with my config or is it maybe blocked on my network?

**Tags:** bitcoind


---

## 0 answers

