A Docker image for Lotus Filecoin nodes.
These instructions will cover usage information and for the docker container
In order to run this container you'll need docker installed.
## Build the Docker image
make build
## Run the Docker container
make run
Verify that the container is running successfully with:
docker ps
BRANCH - The git release, tag or branchLOTUS_EXPORT - Set to true if you want to export chain snapshots on a daily basis somewhereLOTUS_EXPORT_PATH - If LOTUS_EXPORT is set to true - specify whether .car file should be savedSHEDEXPORT - Set to true if you want to export chain snapshots using lotus-shedSHEDEXPORTPERIOD - Defines period of chain snapshotting. Examples: 1m, 1h, 1dSHEDEXPORTPATH - Defines path where to export chain snapshot/root/.lotus - lotus main folder/scripts/entrypoint - Docker entrypoint scriptIf you want to start automatic build in Docker Hub, you have to:
ARG BRANCH in Dockerfile, push changes, create new tag, push tag to repositoryor
ARG BRANCH in Dockerfile, BRANCH in Makefile and execute make git-pushIf you want run build manually from master branch, you have to change variable ARG BRANCH
in Dockerfile push to repository, start build on Docker Hub web page.
Example:
git commit -a -m "ntwk-butterfly-7.10.0" && git push && \
git tag ntwk-butterfly-7.10.0 && git push --tags
List of tag you may find in lotus repository
It works with next tags:
New version is available in Docker Hub
This project is licensed under the Apache 2.0 license.
Content type
Image
Digest
Size
109.9 MB
Last updated
about 6 years ago
docker pull openworklabs/lotus