Public | Automated Build

Last pushed: a year ago
Short Description
Docker image for running a Supernet node (NXT) in mainnet or testnet
Full Description

docker-supernet

Docker container to run Supernet v1 and v2

See https://registry.hub.docker.com/u/chevdor/docker-supernet/

Intro

Supernet v3

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

Supernet v2

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

Supernet v1

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:1.5.12.1

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:1.5.12.1

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!

Docker Pull Command
Owner
chevdor
Source Repository

Comments (3)
chevdor
2 years ago

yolowaga, you can now find v2, see the appropriate tag.

chevdor
2 years ago

That´s right. v2 will come later once this image is clean.

yolowaga
2 years ago

This is the V1 branch, NXT & SuperNET in NXT-Client style.