docker swarm - support for platform property in compose
Open
Nobody has claimed this yet.
kind/feature
status/0-triage
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
Hello I am facing error on my localhost, where I am trying to test our deployment script with docker swarm.
I had to add platform property to docker compose because I am running on ARM and images are build for linux/amd64. So I am able to pull them locally.
docker stack deploy --with-registry-auth -c docker-compose.yml apps
services.ppo Additional property platform is not allowed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the docker stack deploy --with-registry-auth -c docker-compose.yml apps command and the Compose service validation that rejects the platform property. Confirm that a Compose file containing platform: linux/amd64 is accepted for Swarm deployment and that the ARM deployment proceeds without the current validation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, go
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100