Skip to content

Latest release has broken compose file #1699

@prop-opentensor

Description

@prop-opentensor

Describe the bug

Building a container image from the Dockerfile in the latest release does not result in a functional docker image:

 => => writing image sha256:a4aca72cea4271e4f4fbb80a7f2b6764825a37c7d8d4797011f8999265c88bf4                                                        0.0s
 => => naming to docker.io/library/subtensor-mainnet-lite                                                                                           0.0s
 => [mainnet-lite] resolving provenance for metadata file                                                                                           0.0s
[+] Running 3/3
 ✔ mainnet-lite                      Built                                                                                                          0.0s
 ✔ Network subtensor_default         Created                                                                                                        0.5s
 ✔ Container subtensor-mainnet-lite  Started                                                                                                        0.3s
❯ docker ps -a
CONTAINER ID   IMAGE                    COMMAND                  CREATED         STATUS                     PORTS     NAMES
7abba74685e0   subtensor-mainnet-lite   "node-subtensor /bin…"   3 minutes ago   Exited (2) 2 minutes ago             subtensor-mainnet-lite
❯ docker logs 7abba
error: unrecognized subcommand '/bin/bash'

Usage: node-subtensor [OPTIONS]
       node-subtensor <COMMAND>

For more information, try '--help'.

To Reproduce

  1. Comment out line 11 in docker-compose.yml (image: ...) if testing on ARM, on x86 you already build the image by default as there is no x86 tag
  2. Run docker compose up -d mainnet-lite
  3. Wait for build and for container to start, it will immediately fail and exit

Expected behavior

a functional subtensor node :)

Screenshots

No response

Environment

Ubuntu 24.04 LTS, Subtensor v3.1.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions