docker / docker/cli

Include name top-level element in cli compose schema

Open
#3,859 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/stack impact/compose-file kind/feature status/0-triage
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Description

https://github.com/compose-spec/compose-spec/blob/master/spec.md#name-top-level-element

this should be available for use with e.g. docker stack deploy.

tbc: how to harmonize it with the existing arg (project name) -> preferred to make it optional and raise an exception when its passed to CLI & included in the compose file

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.

Research direction

Start with the Compose Specification's top-level name element linked in the issue, then trace how the Docker CLI handles the existing project-name argument and docker stack deploy. Define the behavior when both the CLI argument and compose-file name are supplied; done means the schema and deployment path consistently support the optional name without unresolved conflict handling.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.