Sign inSign up

mixhq/eos

By mixhq

•Updated over 6 years ago

Image
0

906

mixhq/eos repository overview

⁠eos-docker

Docker builds for eos.

We expose nodeos at port 8888, and keosd at 8889.

⁠Build

docker build -t eos .

⁠Run

mkdir data wallet
# watch account `binancecleos` for query actions
docker run --rm -itd --name ieos -e "watch_account=binancecleos" -p 8888:8888 -p 8889:8889 -v `pwd`/data:/opt/data -v `pwd`/wallet:/opt/wallet eos

⁠Using pre-built docker image

Using automated build image from https://hub.docker.com/r/mixhq/eos/⁠:

docker run --rm -itd --name ieos -e "watch_account=binancecleos" -p 8888:8888 -p 8889:8889 -v `pwd`/data:/opt/data -v `pwd`/wallet:/opt/wallet mixhq/eos

⁠Using latest blockchain snapshot to speedup sync

Using snapshots from:

Steps:

  • First, delete blocks and state dir

    rm -rf /data/eos-data/*
    
  • Start with latest snapshot

    docker run --rm -itd --name ieos -e "watch_account=binancecleos" -p 8888:8888 -p 8889:8889 -v `pwd`/data:/opt/data -v `pwd`/wallet:/opt/wallet -v $PWD/start_from_latest_snapshot.sh:/start_from_latest_snapshot.sh mixhq/eos /start_from_latest_snapshot.sh
    
  • Later, you can start with normal docker run commands

⁠Reference

Tag summary

Content type

Image

Digest

Size

158.4 MB

Last updated

over 6 years ago

docker pull mixhq/eos