Giter Site home page Giter Site logo

binance-node-docker-new's Introduction

binance-node-docker

Test status Docker Pulls MIT license

Binance full node docs
Binance full node repo

Docker image for Binance Full Node

Features:

  • Spin up full Binance node with single command.
  • Small image about 100MB, compared to bigger than 6 GB official repository.
  • Easy updates

Don't know what all this is about? Read newbie guide.

Run interactively

docker run --rm -it --ulimit nofile=16000:16000 varnav/binance-node

Run as daemon

ufw allow 27146/tcp
docker run -d --name binance-node -p 27146:27146 -p 27147:27147 -p 26660:26660 --restart unless-stopped --security-opt no-new-privileges --ulimit nofile=16000:16000 varnav/binance-node

Check logs

docker logs -f binance-node

CLI access

docker exec -it binance-node /bin/bash
bnbcli version

Update

docker stop binance-node && docker rm binance-node, pull fresh image with docker pull varnav/binance-node and then run again, data and configs in the volume binance-data are preserved.

Run with kubernetes

kubectl apply -f .\kubernetes-deployment.yml
kubectl expose deployment binance-node --type LoadBalancer

Devel

Building locally

git clone https://github.com/varnav/binance-node-docker.git
cd binance-node-docker && docker build . -t varnav/binance-node

Run and get access to CLI

docker run --rm -d --name binance-node varnav/binance-node
docker exec -it binance-node /bin/bash
bnbcli version

cmd



docker run -d --name binance-node -p 27146:27146 -p 27147:27147 -p 26660:26660 --restart unless-stopped --security-opt no-new-privileges --ulimit nofile=16000:16000  -v  /data/liwei/binance-node:/bnbd    -v /data/logs:/logs  liwei/binance-node-67



docker run -d --name binance-node -p 27146:27146 -p 27147:27147 -p 26660:26660 --restart unless-stopped --security-opt no-new-privileges --ulimit nofile=16000:16000    liwei/binance-node-10


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.