Hello all,
I've been playing with Docker, and I currently have a setup that runs both Armory and Bitcoind inside the same container. This works just fine, as expected. I'm using the volumes feature to have the blockchain mounted to the host machine, like this:
Docker Host
+----------+ +------------+
| Armory | | |
| | +--+ Blockchain |
| Bitcoind | | |
+----------+ +------------+
The container and the host are the same machine, so no networking is needed to do the mount.
One of the things I would like to do is put Armory and Bitcoind into separate containers, and mount the same Blockchain to both containers, like this:
Docker Host
+----------+ +------------+
| | | |
| Bitcoind +--+ Blockchain |
| | | |
+----+-----+ +-----+------+
| |
+----------+ |
| | |
| Armory +--------+
| |
+----------+
The non-Docker equivalent to this would be running two guest virtual machines in Virtualbox (one with Armory, one with Bitcoind) and mounting the same host folder to both machines.
The issue I am having with this is that I do not fully understand how Armory and Bitcoind communicate.
Some threads I have read here indicate that there are RPC calls being made, while other threads are indicating that Armory acts as a local peer on the Bitcoin network.
It seems evident that I need to set up some special networking between the two containers, but I'm not sure what else is needed.
Can anyone help me out? I need to know which ports to connect between the containers and which config files to edit.
This thread talks about the RPC/local peer connections, and seems to hint that what I am trying to do is possible, but the information is confusing to me:
https://bitcointalk.org/index.php?topic=333224.0Thank you for your help.