Docker container to run Supernet v1 and v2
The images has been once again significantly slimmed down.
Here is an example that will bring Supernet at http://localhost:7117
docker run -p 7117:7110 -d --name supernetv3 chevdor/docker-supernet:3.0.7
The v2 image is based on nginx (and thus is much smaller than v1!)
docker run -p 80:80 -d --name supernetv2 chevdor/docker-supernet:2.0.5-beta
This image is based on phusion/baseimage for Supernet v1. It installs java and the latest Supernet software.
docker run -it -p 6876:6876 chevdor/docker-supernet:184.108.40.206
However, you may request the container to run on the mainnet by specifying the ENV variable as shown below:
docker run -it -p 7876:7876 -e "NXTNET=main" --name supernetv1 chevdor/docker-supernet:220.127.116.11
NOTE: Any other value than “main” for the NXTNET variable will make your container run on mainnet.
WARNING: When you start the container for v1, it will immediately connect and start downloading the blockchain. The testnet blockchain is much smaller than the mainnet blockchain (which is why the container default to testnet unless you specifically say you want to run on the mainnet). In any case, downloading the blockchain may take up to several hours. Be patient!