You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a compose file that is shared between developers using mac OS and developers using linux. The thing is we added the platform flag so mac users could use a specific image of mysql (that isnt available for ARM64), and now everytime a linux user try to use the compose file, it fails with error: Unsupported config option for services.mysql: 'platform'. container config:
Are you seeing the same error when using a different image? I wonder if it's producing an error because the mysql:5.7.37 image is not available for arm64 (only amd64 (x64));
The issue was we were using an abstraction layer on top of docker that was supposed to run commands using docker compose, but seems like one of the commads that was running was using docker-compose. And docker-compose do not support the platfrom option.
Description
We have a compose file that is shared between developers using mac OS and developers using linux. The thing is we added the platform flag so mac users could use a specific image of mysql (that isnt available for ARM64), and now everytime a linux user try to use the compose file, it fails with error:
Unsupported config option for services.mysql: 'platform'
. container config:Reproduce
In a linux machine, use a compose file as the one above and run any command that use the use the file.
Expected behavior
Docker should start the service without a problem.
docker version
Client: Docker Engine - Community Version: 24.0.7 API version: 1.43 Go version: go1.20.10 Git commit: afdd53b Built: Thu Oct 26 09:08:01 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 24.0.7 API version: 1.43 (minimum version 1.12) Go version: go1.20.10 Git commit: 311b9ff Built: Thu Oct 26 09:08:01 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.25 GitCommit: d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f runc: Version: 1.1.10 GitCommit: v1.1.10-0-g18a0cb0 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
docker compose version
Docker Compose version v2.21.0
docker compose file version
3.7
The text was updated successfully, but these errors were encountered: