Abey Docs
  • Overview
  • Installation
    • Installation
      • Installation Instructions for Mac OS X
      • Installation Instructions for Windows
      • Ubuntu
      • Centos
      • Docker
  • RPC
    • Management API
    • JSON RPC API
  • Usage
    • Managing your accounts
    • Command line options
    • Backup & restore
    • Integrating an exchange
  • DPOS
    • Staking guide
    • Staking contract
    • Staking ABI
  • Scan API
    • Scan API
  • Whitepaper
    • Whitepaper
Powered by GitBook
On this page

Was this helpful?

  1. Installation
  2. Installation

Docker

PreviousCentosNextManagement API

Last updated 3 years ago

Was this helpful?

We keep a Docker image with recent snapshot builds from the develop branch . In addition to the container based on (158 MB).

To pull the image, run this command:

docker pull abeychain/gabey

Start a node with:

docker run -it -p 30313:30313 abeychain/gabey

To start a node that runs the JSON-RPC interface on port 8545, run:

docker run -it -p 8545:8545 -p 30313:30313 abeychain/gabey --rpc --rpcaddr "0.0.0.0"

WARNING: This opens your container to external calls. "0.0.0.0" should not be used when exposed to public networks

To use the interactive JavaScript console, run:

docker run -it -p 30313:30313 abeychain/gabey console

Using Data Volumes

To persist downloaded blockchain data between container starts, use Docker . Replace /path/on/host with the location you want to store the data in.

docker run -it -p 30313:30313 -v /path/on/host:/root/.abeychain abeychain/gabey
on DockerHub
Ubuntu
data volumes