Curio
English
English
  • What is Curio?
    • Filecoin Storage Provider
  • Design
    • Sealing
    • Harmony Tasks
  • Getting Started
  • Versions
  • Installation
  • Setup
  • Curio Service
  • Storage Configuration
  • Configuration
    • Listen Address
    • Alert Manager
    • Balance Manager
    • Default Curio Configuration
  • Curio Market
    • Storage Market
    • Deal filters
    • Curio HTTP Server
    • Curio libp2p Server
      • libp2p Protocols
    • Indexing
    • IPNI (Interplanetary Network Indexer) Provider
    • Market UI
    • Retrievals
    • Migrating From Boost
  • Snap Deals
  • Batch Sealing with SupraSeal
  • Scaling Curio cluster
  • Curio GUI
  • Garbage Collection
  • Best Practices
  • Logging
  • Curio CLI
    • Curio
    • Sptool
  • API
  • Docker Devnet
  • Experimental Features
    • GPU Over Provisioning
    • Enable PDP
Powered by GitBook
On this page
  • Prerequisites
  • Building Docker images
  • Start devnet Docker stack
  • Make a deal in devnet

Docker Devnet

How to run a local network with Curio using docker

PreviousAPINextExperimental Features

Last updated 2 months ago

Prerequisites

To ensure a stable and functional network, the Curio devnet requires running multiple binaries in parallel. To simplify this process, we have packaged the devnet using Docker. Please make sure to install the latest version of Docker on your system before proceeding.

  • Install Docker -

Building Docker images

Build images from the root of the Curio repository

make clean docker/devnet
  • If you need to build containers using a specific version of lotus then provide the version as a parameter. The version must be a tag of . We are shipping images for all releases from Lotus in our .\

    make clean docker/devnet lotus_version=v1.29.2

    \

  • If the branch or tag you requested does not exist in our then you can build the lotus image manually.\

    make clean docker/devnet lotus_version=test/branch1 build_lotus=1

Start devnet Docker stack

  • Run

make devnet/up
  • It will spin up lotus, lotus-miner, yugabyte, curio and piece-server containers. All temporary data will be saved in ./docker/data folder.

  • The initial setup could take up to 5 min or more as it needs to download Filecoin proof parameters. During the initial setup, it is normal to see error messages in the log. Containers are waiting for the lotus to be ready. It may timeout several times. Restart is expected to be managed by docker.

  • Try opening the Curio GUI . Devnet is ready to operate when the URL opens and indicates no errors on the startup page.

  • You can inspect the status using cd docker/devnet && docker compose logs -f.

Make a deal in devnet

  1. Login to piece-server container either via docker desktop UI or with below command

    docker exec -it piece-server /bin/bash
  2. Run the below command to make a deal and follow the on-screen instructions.

    ./sample/make-a-deal.sh
https://docs.docker.com/get-docker/
Lotus git repo
Github image repo
Github image repository
http://localhost:4701