-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
platform support is missing in version 3.5 and 3.6 #1050
Comments
Well that goes against having an experimental feature that was not included in the schema. |
@Casz one reason for it to not being support in v3 formats is that it is not supported by Swarm Mode, and thus would have no effect on That being said, I think one easy fix to that issue would be to add |
I agree with @vdemeester that current --platform switch implementation is bit weird but anyway I see that it should be included to v3.7 and to stack deploy also (other why it totally useless). Or make Windows dockerd with LCOW enabled reporting it selves with multiple OS (linux and windows) so it would automatically choose correct platform. |
A lot of moving parts, but running parallel architecture images would be great to solve. Windows 20H2 has supports for Hyper-V isolation, and Supports process isolation I do not want the switch the Docker Desktop engine, run wsl2, and use the docker Linux context. From the Windows console, run hybrid docker-compose, Windows, and Linux context. |
Is there any greater impetus to support this now, given that setting the platform is how you instruct Docker for Mac to emulate amd64? (See https://docs.docker.com/docker-for-mac/apple-silicon/#known-issues) Otherwise, is there some other way we can emulate |
@jmalloc Currently debugging the same, looking here suggests it may be in newer version? edit: just realised thats I was able to install the most recent |
I tested today, and at least it works in version 3.7. (I am using Docker Compose version 1.29.2.) This page implies that it was added in 3.4, but I have not confirmed that. It's officially documented here. At the top of the page, there's a note:
|
Thats the same question I ask! |
Description
Docker compose version 3.6 does not support platform attribute on a service object
When running experimental and wanting to use LCOW 👍
I noticed it was added in 2.4 for docker compose docker/compose#5767
which according to the version matrix should be supported by 3.5 and 3.6
Steps to reproduce the issue:
My docker-compose.yml
Describe the results you received:
Describe the results you expected:
That platform is supported for a service
Additional information you deem important (e.g. issue happens only occasionally):
docker/compose#5953
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: