Skip to content

Hand over to environment variable when docker compose on Mac #9188

@sc303030

Description

@sc303030

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Is your feature request related to a problem? Please describe.

  • I hope I get this error when I use it on my Mac, so I can add a feature.
The requested image's platform (linux/amd64) does not match 
the detected host platform (linux/arm64/v8) and no specific platform was requested 

Describe the solution you'd like

  • I think it would be nice to add this phrase to docker compoae and run it with this phrase when running docker compoae on Mac.
  • platform: ${PLATFORM:-}
  • PLATFORM=linux/amd64 docker compose up -d

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions