Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Iroha fails to start on MacOS M1 using Docker Compose single dev #3451

Closed
AlexStroke opened this issue May 4, 2023 · 0 comments
Closed
Assignees
Labels
Bug Something isn't working Dev defect The defect was found at the development stage. Did not have an impact on users. iroha2-dev The re-implementation of a BFT hyperledger in RUST QA-confirmed This bug is reproduced and needs a fix

Comments

@AlexStroke
Copy link
Contributor

AlexStroke commented May 4, 2023

OS and Environment

MacOS M1, Docker Hub

GIT commit hash

b185545

Minimum working example / Steps to reproduce

docker compose -f docker-compose.dev.single.yml up -d

Actual result

The process fails with an error related to loading metadata for the archlinux:base-devel image.

[+] Running 0/1
 ⠿ iroha0 Warning                                                                                                                                                                     2.6s
[+] Building 2.3s (4/4) FINISHED                                                                                                                                                           
 => [internal] load build definition from Dockerfile                                                                                                                                  0.1s
 => => transferring dockerfile: 1.55kB                                                                                                                                                0.0s
 => [internal] load .dockerignore                                                                                                                                                     0.0s
 => => transferring context: 58B                                                                                                                                                      0.0s
 => CANCELED [internal] load metadata for docker.io/library/alpine:3.16                                                                                                               2.2s
 => ERROR [internal] load metadata for docker.io/library/archlinux:base-devel                                                                                                         2.1s
------
 > [internal] load metadata for docker.io/library/archlinux:base-devel:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:e8fdfe665a3e6afae775a83db1a518a0fd4f2cc0fd947aefc6a7479cbde65bd7: not found

Expected result

Iroha 2 should start successfully using Docker Compose on MacOS M1.

Who can help to reproduce?

@astrokov7

Notes

It seems that the archlinux:base-devel image is not compatible with the M1 platform. Consider switching to a compatible image, such as arm64v8/archlinux:base-devel, or using a multi-architecture image

@AlexStroke AlexStroke added Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST labels May 4, 2023
@AlexStroke AlexStroke added Dev defect The defect was found at the development stage. Did not have an impact on users. QA-confirmed This bug is reproduced and needs a fix labels May 4, 2023
@ilchu ilchu assigned ilchu and unassigned mversic Jul 24, 2023
ilchu added a commit to ilchu/iroha that referenced this issue Jul 26, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Jul 26, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Jul 26, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
appetrosyan pushed a commit to ilchu/iroha that referenced this issue Jul 27, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Jul 28, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
appetrosyan pushed a commit to ilchu/iroha that referenced this issue Jul 28, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
appetrosyan pushed a commit that referenced this issue Jul 28, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
@AlexStroke AlexStroke self-assigned this Aug 4, 2023
mversic pushed a commit that referenced this issue Oct 17, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
@alexstroke1 alexstroke1 assigned alexstroke1 and unassigned AlexStroke Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Dev defect The defect was found at the development stage. Did not have an impact on users. iroha2-dev The re-implementation of a BFT hyperledger in RUST QA-confirmed This bug is reproduced and needs a fix
Projects
None yet
Development

No branches or pull requests

4 participants