A wrapper for Omnilayer/omnicore docker image
- Dockerfile
- Dockerfile.baseos
- Dockerfile.omnicore
- Build image
- Run container and testing
- Clone omnicore source core:
git clone https://github.com/OmniLayer/omnicore.git files/omnicore
- Build image base-os:
docker build -t oceanho/omnilayer/omnicore-baseos -f Dockerfile.baseos .
- Build image omnicore:
docker build -t oceanho/omnilayer/omnicore -f Dockerfile.omnicore .
docker run -name my_omnicore_node001 -d -p 8832:8832 -p 18832:18832 -v ~/omnicore:/root/omnicore oceanho/omnilayer/omnicore:latest
docker image of ports,volumes and bitcoin.conf
- 8832: the rpc service
- 18832: the block event service
server=1
rpcuser=hehai
rpcpassword=hehai2018
rpcallowip=127.0.0.1
rpcconnect=127.0.0.1
rpcport=8332
rpcssl=0
txindex=1
datacarriersize=80
logtimestamps=1
omnidebug=tally
omnidebug=packets
omnidebug=pending