| .. | ||
| .dockerignore | ||
| Dockerfile.release | ||
| Dockerfile.source | ||
| Dockerfile.source.dockerignore | ||
| Dockerfile.sourceavx512 | ||
| README.md | ||
| rustup-init.sh | ||
Quilibrium Docker Guide
This folder contains the Dockerfiles and related resources for Quilibrium. All commands should be executed from the root of the repository using task.
1. System Preparation
For system preparation follow the official Quilibrium Guide.
2. Configuration
Generating Config
The configuration directory .config is located at the root of the repository.
task config:gen
This will generate config.yml and keys.yml in the .config/ folder.
3. Workflow Options
You have two primary ways to use Docker with Quilibrium:
Option A: Build Binary via Docker (for Native Run)
If you prefer to run the node natively but don't want to set up the full Go build environment, you can use Docker to compile the binary for your specific platform.
-
Build and Export Binary: Run the task corresponding to your OS/Architecture:
- Linux AMD64:
task build_node_amd64_linux - Linux ARM64:
task build_node_arm64_linux - MacOS ARM:
task build_node_arm64_macos
- Linux AMD64:
-
Run Binary: The binary will be exported to
node/build/. You can then run it directly:./node/build/[platform]/node
Option B: Run Entirely via Docker
The node runs inside a Docker container.
-
Build the Image:
task build:node:source -
Deploy the Node:
task deploy:nodeand then you can use the standard docker commands to manage the node.
4. Maintenance & Backup
Important
Always backup your
.config/directory. It contains your unique node identity and balance information.
- Backup:
task backup - Restore:
task restore - Check Status:
task status