--squash is no longer Experimental

Open Beginner friendly
#3,830 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
docker, go
Domain
cli, documentation

Research direction

Start in cli/command/image/build.go at the linked --squash flag definition and inspect how its experimental notice is produced. Find the related documentation for docker build and update it as needed. Done means docker build --squash no longer reports the option as experimental and the documentation matches.

Written by the indexing model from the issue text.

Description

area/builder kind/bug status/0-triage
Description

The --squash parameter has been present for 6 years now, and is well beyond experimental.

The flag here should be removed, and the documentation updated.

https://github.com/docker/cli/blob/52b89d7668aca988e6e61f6f7145c0e270849c36/cli/command/image/build.go#L154

Reproduce

docker build --squash should not say it's experimental.

Expected behavior

Should not say it's experimental.

docker version
All
docker info
Without having experimental flag set
Additional Info

Something that is not experimental should not be marked as experimental.

Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

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.