gregoshop/casper-nctl

By gregoshop

Updated 4 months ago

Casper NCTL 2.0 bundled in Docker

Image
Networking
Developer tools
Databases & storage
0

10K+

gregoshop/casper-nctl repository overview

Casper NCTL 2 Docker - See base docker commands at https://github.com/gRoussac/casper-nctl-2-docker

Casper NCTL 2 Docker provides containerized environments for running Casper NCTL 1.x and 2.x, supporting different branches and configurations for stable, development, and version-specific releases.

Available Tags

stable – Uses release-1.5.8 for the node and release-2.0.0 for the client.

    - BRANCH_NODE=release-1.5.8
    - BRANCH_CLIENT=release-2.0.0

2.0 – Uses 2.0.0 release candidate for the node, v3.0.1 for the client, and v1.0.3 for the sidecar.

    - BRANCH_NODE=v2.0.3
    - BRANCH_CLIENT=v5.0.0
    - BRANCH_SIDECAR=v2.0.0

dev – Tracks the latest development versions of the node, client, and sidecar.

    - BRANCH_NODE=dev
    - BRANCH_CLIENT=dev
    - BRANCH_SIDECAR=dev

Running a Container

To run a specific version, use:

    docker run --rm -it gregoshop/casper-nctl:2.0

Detached mode (-d):

    docker run -d --name casper-nctl-dev gregoshop/casper-nctl:dev

Replace 2.0 with stable or dev as needed.

The casper-nctl-2-docker service provides the core infrastructure for running a Casper NCTL node. It includes:

Ports:

    11101-11105, 14101-14105, 18101-18105, 25101-25105, 28101-28105 (for network communication)

Volumes (mapped for data persistence):

    ./assets 

Logs, faucet, users, chainspec, and node data

This service is extended by the stable, 2.0, and dev configurations for different branches.

Additional Services

The github repository also includes a CORS proxy (cors-anywhere), running on port 11100, which can be enabled using the cors-anywhere profile.

If you want to spin up everything at once (nodes + CORS proxy):

    docker compose --profile 2.0 up -d
    docker compose --profile cors-anywhere up -d

Tag summary

Content type

Image

Digest

sha256:67e3a639b

Size

83 MB

Last updated

4 months ago

docker pull gregoshop/casper-nctl:dev