GithubHelp home page GithubHelp logo

docker-waves-testnet's Introduction

Docker container for Waves testnet node

Waves is a decentralised platform that allows any user to issue, transfer, swap and trade custom blockchain tokens on an integrated peer-to-peer exchange. You can find more information about Waves at wavesplatform.com and GitHub.

This Docker image contains the latest release version of Testnet Node of Waves.

This image on Docker Hub

It is possible to download a prebuild Docker image from Docker Hub. To do so issue the command:

docker pull wavesplatform/waves-testnet:latest

After getting the image, you can run it.

Building a Docker image

Prerequisites

You need the latest version of Docker installed.

Please, follow installation istructions at Docker Site.

Building image

In order to build a new Docker image execute the following commands:

Clone the project's repository:

git clone https://github.com/alexeykiselev/docker-waves-testnet.git

Get into project's directory:

cd docker-waves-testnet

Build an image with the following command:

docker build -t waves-testnet .

Running the image

List your Docker's images:

docker images

If you built the image by yourself it will have the name you gave to it (in our example it is 'waves-testnet'). If you have downloaded the image from Docker Hub it is tagged with 'wavesplatform/waves-testnet:latest'.

To start a new Docker container, please, execute:

docker run --name waves-testnet wavesplatform/waves-testnet:latest

It is possible to provide a concrete version instead of 'latest'.

This image defines a storage volume in folder /waves. This folder is persisted on host drive. So, your node configuration and downloaded blockchain will survive the container restart. You can find the location of this volume on a host computer using docker inspect command.

Alternatively you can map the volume on a host folder using option -v as in:

docker run --name waves-testnet -v /home/user/local-waves-folder:/waves wavesplatform/waves-testnet:latest

At first run a new wallet seed will be created for you and stored in waves-testnet.json configuration file on the volume.

To start and stop the container use Docker commands docker start waves-testnet and docker stop waves-testnet. We address the container by its name which we gave to it in the --name option of the run command.

docker-waves-testnet's People

Contributors

alexeykiselev avatar

Watchers

 avatar  avatar

Forkers

alexshin

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.