Pharos Docs
  • Introduction
    • About Pharos Network
    • Vision & Mision
    • Why Pharos Network
    • Concepts
      • Degree of Parallelism (DP)
  • Architecture
    • Pharos Modular Stack
    • Node Architecture
      • About Pharos Nodes
  • Core Technologies
    • Pharos Consensus
    • Pharos Execution
      • Why A New Blockchain Compute Model
      • Pharos VM
    • Pharos Pipelining
    • Pharos Store
      • Why We Need a Blockchain-Native Store
    • Pharos SPNs
  • Network Overview
    • Pharos Networks
      • Pharos Testnet Information
    • Pharos Gas Model
    • FAQ
  • Node & Validator Guide
    • Validator Requirements
    • Validator Node Deployment
      • Using Docker (Devnet)
      • Using Docker (Testnet)
    • Node Management
    • Rapid Node Initialization
      • Rapid Node Initialization(Testnet)
      • Rapid Node Initialization(Devnet)
    • Pharos Network Snapshots
    • Node Debugging & Configuration
  • 🛠️ Pharos Testnet: Rebuild Node with Preserved Node Info
  • Pharos Node Monitoring
  • Developer Guide
    • Foundry
      • Write Your First dApp
      • Write Your First Token
      • Write Your First NFT
      • Write Your First Uniswap Contract
    • Hardhat
      • Write Your First dApp
      • Write Your First Token
      • Write Your First NFT
      • Write Your First Uniswap Contract
    • Rust
    • Interoperability
      • Call EVM From WASM
  • API & SDK
    • JSON-RPC API Methods
  • Resources
    • EVM
    • Solidity
Powered by GitBook
On this page
  • Prerequisites
  • Deployment Steps
  • In your mount directory there should be a list of files:
  • And the following directories:
Export as PDF
  1. Node & Validator Guide
  2. Validator Node Deployment

Using Docker (Devnet)

Prerequisites

Before starting, ensure that you meet the system requirements for Pharos nodes. Additionally, install the following dependencies:

  • Docker

Deployment Steps

docker pull public.ecr.aws/k2g7b7g1/pharos:latest
docker run -d --name pharos-devnet -v /data/pharos-devnet:/data -p
18100:18100 -p 18200:18200 -p 19000:19000
public.ecr.aws/k2g7b7g1/pharos:latest

Parameter Explanation

  • -name pharos-devnet: Container name, customizable.

  • -v /data/pharos-devnet:/data: Local mount directory, recommended to be set on a high-capacity disk.

  • public.ecr.aws/k2g7b7g1/pharos:latest: Pharos Devnet image address.

In your mount directory there should be a list of files:

  • deploy.light.json: Pharos binary configuration template

  • domain.json: Pharos deployment configuration file

  • genesis.conf: The genesis config of the devnet you are connecting to

And the following directories:

  • pharos-node: Pharos deployment directory, Contains configuration files, binaries, logs, DB, etc.

  • pharos-node-client: Pharos client directory, used to do node management

  • resources: Node's keys directory, including consensus signing key and BLS key. Keep it safe

PreviousValidator Node DeploymentNextUsing Docker (Testnet)

Last updated 15 days ago