Skip to content

Docker Compose fails due to incorrect image in compose.yaml #8

@Belacosaur

Description

@Belacosaur

Description
When following the repository's README.md instructions for running the node via Docker, the docker compose pull command fails. The compose.yaml file in the arch-node/docker/ directory references a Docker image that does not seem to exist.

Environment
OS: Windows 11 with WSL 2 (Ubuntu)
Docker: Docker Desktop for Windows

Steps to Reproduce

  1. Clone the repository with submodules: git clone --recurse-submodules https://github.com/Arch-Network/arch-node.git
  2. Navigate to the docker directory: cd arch-node/docker
  3. Attempt to pull the docker image: docker compose pull

Expected Behavior
The command should successfully pull the required Docker image.

Actual Behavior
The command fails with the following error:
failed to resolve reference "ghcr.io/arch-network/node:latest": ghcr.io/arch-network/node:latest: not found

Cause
The image key in arch-node/docker/compose.yaml is set to ghcr.io/arch-network/node:latest. This image does not appear to be published on the GitHub Container Registry.
Suggested Solution
The issue can be resolved by changing the image key to a valid, published image. For example, changing it to ghcr.io/arch-network/validator:v0.5.3 works correctly.
The compose.yaml file should be updated from:
image: ghcr.io/arch-network/node:latest
to:
image: ghcr.io/arch-network/validator:v0.5.3

Or to whichever tag is considered the current stable/latest for the validator image.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions