Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

docker swarm - support for platform property in compose

Open
#6,542 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, docker-compose, go
Domain
cli, devops

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.

Description

kind/feature status/0-triage
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
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
47

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/cli

All issues in docker/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.