Installing Docker on Mac (OSX El Capitan) via Homebwrew and command line:
brew install docker
brew install docker-machine
docker-machine create default
(see this Stackoverflow answer)eval $(docker-machine env default)
(see this Stackoverflow answer)
docker-compose up -d
Both testrpc and geth in container contain following accounts.
- 0xbe86853b5edccd6862e3b7b964cbaccbd7d1b140 Master
- 0x2226c12185773216ac10eb4f059110206503a9f4 Reserve Bank
- 0x9f18a8ab9d0d149356c1581a82ac732df83653f5 AccountApprover
- 0x7f9e9f7650388f1ccb8053f827471e5db33d7927 Law Enforcer
- 0x00eeb3082988faaba45e041cfc2982b69598264e Account Designator
- 0xfd8989348deca20c0839b1c17fe33ce6a0080394 Account
- 0xb9447b40e761cadf48d088e76b1d45df6a6332cd Alice (Approved with 1000 CryptoEuro)
- 0xbddb7a84303a955cd74be8a24f5b67e827d6e70f Bob (Approved with 1000 CryptoEuro)
- 0x8bc72212834de16211f31855df83376199de5429 Carol (Approved with 1000 CryptoEuro)
- 0xf4661f0029d6901629df80e8d96260f9590d9404 Erin (Unapproved)
TODO...
geth --datadir=. init geth/genesis.json
geth --datadir=. --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 --rpcapi "db,personal,eth,net,web3" --rpccorsdomain='*' --networkid=1234 --rpc --rpcaddr="0.0.0.0" --mine --minerthreads 1