Sign inSign up

mtlynch/sia

By mtlynch

•Updated over 6 years ago

Unofficial Docker image for Sia / Siacoin decentralized storage platform

Image
6

100K+

mtlynch/sia repository overview

⁠docker-sia

Build Status Docker Pulls License

⁠Deprecation

This Docker image is no longer maintained and will no longer receive updates after Sia v.1.4.4.

The Nebulous team has repeatedly⁠ made⁠ changes⁠ that⁠ break⁠ the Sia Docker image and other downstream clients of Sia. The team has not been receptive to feedback⁠ about correcting these problems, and I no longer have the bandwidth to create workarounds.

Update (2020-04-08): The Nebulous team now offers an official Sia Docker image⁠.

⁠Supported Tags

  • latest: The latest official binary release.
  • dev: The latest dev build from the Sia Gitlab source.
  • 1.4.4
  • 1.4.3
  • 1.4.2.1
  • 1.4.2.0
  • 1.4.1.2
  • 1.4.1.1
  • 1.4.1
  • 1.4.0
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3b - Sia released two separate binaries, both versioned 1.3.3⁠.
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.0
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.4
  • 1.0.3
  • 1.0.1

⁠Usage

mkdir sia-data
docker run \
  --detach \
  --volume $(pwd)/sia-data:/sia-data \
  --publish 127.0.0.1:9980:9980 \
  --publish 9981:9981 \
  --publish 9982:9982 \
  --name sia-container \
   mtlynch/sia

Important: Never publish port 9980 to all interfaces. This is a security-sensitive API, so only expose it beyond 127.0.0.1 if you know what you're doing.

Once the container is running, you can execute siac from within the container:

$ docker exec -it sia-container ./siac consensus
Synced: No
Height: 3800
Progress (estimated): 2.4%

You can also call siad from outside the container:

$ curl -A "Sia-Agent" "http://localhost:9980/consensus"
{"synced":false,"height":4690,"currentblock":"0000000000007d656e3bb0099737892b9073259cb05883b04c6f518fbf0faffb","target":[0,0,0,0,0,2,200,179,126,85,220,153,25,190,195,228,72,53,129,181,62,124,175,60,255,90,105,68,179,16,6,71],"difficulty":"101104922300609"}

⁠More examples

For more usage examples, see the blog post, "Fun with Sia and Docker."⁠

Tag summary

Content type

Image

Digest

Size

46.7 MB

Last updated

over 6 years ago

docker pull mtlynch/sia