Skip to content

mac电脑报错需要加一个这个,不然mac电脑m系列直接运行不了 #1

@ouyang6559

Description

@ouyang6559

docker compose up -d 如果mac电脑出现这个错误
[+] Running 0/2
⠸ timescaledb Pulling 4.3s
⠸ banbot Pulling 4.3s
no matching manifest for linux/arm64/v8 in the manifest list entries

在下面添加platform: linux/amd64 # 适配 ARM 架构的 Docker 环境,例如 Apple M1
banbot:
image: banbot/banbot:${BANBOT_TAG}
platform: linux/amd64
container_name: ${BANBOT_NAME}

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