Difference between revisions of "Docker"

From Snowblossom Wiki
Jump to: navigation, search
(Created page with "== Images == Images are hosted on Dockerhub: [https://hub.docker.com/u/snowblossom Docker Snowblossom] We have the following docker images that are automatically updated: *...")
 
Line 12: Line 12:
  
  
 +
== Persistence ==
 +
 +
All images assume /data is a good place to put things.  Some don't really need any persistent data (like exploder).
 +
So if you want them to not start from scratch each time, give them a /data that is a persistent volume.
  
 
== Options ==
 
== Options ==

Revision as of 18:32, 31 May 2022

Images

Images are hosted on Dockerhub: Docker Snowblossom

We have the following docker images that are automatically updated:

  • snowblossom/node - Network Node
  • snowblossom/explorer - Snowblossom explorer web server
  • snowblossom/client - CLI Client
  • snowblossom/poolminer - Regular miner
  • snowblossom/pool - Mr Plow mining pool


Persistence

All images assume /data is a good place to put things. Some don't really need any persistent data (like exploder). So if you want them to not start from scratch each time, give them a /data that is a persistent volume.

Options

These all start with somewhat reasonable defaults but any options can be overwritten with environment variables that start with "snowblossom_"

Any config options found here Category:ConfigOptions may be used.

Examples

To start a basic node but enable tx_index and addr_index:

   docker run -d --restart always --name snowblossom.node --network host \
     -v snownode:/data -e snowblossom_addr_index=true -e snowblossom_tx_index=true snowblossom/node:latest