1.0.0 • Published 5 years ago

fragchain v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Build Docker Image first

run this command in the directory where the Dockerfile is located. i.e: fragchain/Dockerfile

docker build -t fragchain .
docker network create --subnet=172.16.0.0/24 vault

Then spin up a container from the image

docker run -it --name node-1 --net vault --ip 172.16.0.10 -v ~/github/fragchain:/fragchain -p 3000 -p 4444 fragchain

Ctrl + C to stop the container or docker stop node-1

to start the container

docker start -i node-1

use docker-compose to orchestrate multiple containers

install docker-compose, then

docker-compose up

Runtime Log with 4 nodes