Skip to content

Conversation

@felixfontein
Copy link
Contributor

The query parameter platform apparently was added for API version 1.41 (see https://github.com/docker/cli/blob/fe93451cf7d26fd211c4f4c2f55d32022294b628/vendor/github.com/docker/docker/client/container_create.go#L35-L42) and is used by the Docker CLI, but unfortunately is not documented in the API docs (https://docs.docker.com/engine/api/v1.41/#operation/ContainerCreate).

Fixes #2822.

Signed-off-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Felix Fontein <felix@fontein.de>
@pinko-fowle
Copy link

This is super helpful for people on ARM & M1 mac's trying to work with non-dual architectures.

Really hoping we can get unblocked starting the containers we need on our devmachines soon! Apologies for the ping but @aiordache, @ulyssessouza, would love to see this great work move forward if we can. 🚀

@JonZeolla
Copy link

@milas any chance you could take a look at this PR?

@milas milas merged commit 1a4cacd into docker:main Jul 29, 2022
@felixfontein felixfontein deleted the platform branch July 29, 2022 19:20
@felixfontein
Copy link
Contributor Author

@JonZeolla @nicksieger @milas thanks for reviewing and merging!

@milas milas added this to the 6.0.0 milestone Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment