Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

anzerr/banano.docker

Repository files navigation

alt text

Intro

These are Docker images for the Banano node optimised to be as small as possible. The image is 5mb having only the Banano binary on an alpine base.

Usage

This Can be use as a ci or the base image/layer to build larger project

docker pull anzerr/banano:22
docker run --rm anzerr/banano:22 --version
# Version 22.1

or in a Dockerfile images can be found on hub.docker.com

FROM anzerr/banano:22
...

To run a node

 # in memory test
docker run --name node --tmpfs /root:rw -p 7072:7072 -e "BAN_NETWORK=live" anzerr/banano:22-daemon
# run node
docker run -d -p 54000:54000/udp -p 54000:54000 -p [::1]:55000:55000 -p 7072:7072 -v ~:/root -e "BAN_NETWORK=live" --name node --restart=unless-stopped anzerr/banano:22-daemon

Build

# clone project
git clone --recurse-submodules -j8 git://github.com/anzerr/banano.docker.git
git submodule update --init --recursive
npm run update # update docker images
node bin/index.js --name banano:nightly # run the build for an image

Versions

Version Description
anzerr/banano:nightly node binary on built from the latest commit
anzerr/banano:18 node binary on built from tag "v18.0"
anzerr/banano:20 node binary on built from tag "20.0"
anzerr/banano:22 node binary on built from tag "22.1"
anzerr/banano:nightly-daemon nightly binary started as a daemon
anzerr/banano:18-daemon v18.0 binary started as a daemon
anzerr/banano:20-daemon v20.0 binary started as a daemon
anzerr/banano:22-daemon v22.0 binary started as a daemon

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /