Git Product home page Git Product logo

docker-steem's Introduction

Docker

Prerequisites

Please see the Docker installation documentation for details on how to install or upgrade your Docker daemon.

Quick Start

Download an image with Steem wallet software from DockerHub

docker pull teego/steem_wallet

Create a data folder

mkdir -p ~/.steem/witness_node_data_dir

Extract a default config file from an image

docker run -it teego/steem_blockchain cat /witness_node_data_dir/config.ini >~/.steem/witness_node_data_dir/config.ini

Edit witness, miner and mining-threads options

# name of witness controlled by this node (e.g. initwitness )
witness = "account"

# name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )
miner = ["account","WIF PRIVATE KEY"]

# Number of threads to use for proof of work mining
mining-threads = 2

Launch a wallet container

docker run --name steem_wallet -p 8090:8090 -v ~/.steem/witness_node_data_dir:/witness_node_data_dir teego/steem_wallet

Once you have a wallet container running, you can run a command line interface

docker exec -it steem_wallet /root/steem/programs/cli_wallet/cli_wallet

Preloaded blockchain

Download an image with preloaded blockchain from DockerHub

docker pull teego/steem_blockchain

Create a new named container with a volume to share. While this container doesn’t run an application, it reuses the teego/steem_blockchain image so that all containers are using layers in common, saving disk space.

docker create --name steem_blockchain teego/steem_blockchain /bin/true

You can then use the --volumes-from flag to mount the a data volume.

docker run --name steem_wallet -p 8090:8090 --volumes-from steem_blockchain -v ~/.steem/witness_node_data_dir/config.ini:/witness_node_data_dir/config.ini teego/steem_wallet

Sources

Dockerfiles are available on GitHub

docker-steem's People

Contributors

tigernd avatar

Watchers

 avatar

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.