Make it clear that docker ps filter name accepts regular expressions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- docker
调研方向
从 Docker Engine CLI 参考文档中关于 name 过滤器的部分开始:https://docs-stage.docker.com/engine/reference/commandline/ps/#name。根据报告中的 app 和 ^app$ 示例检查现有措辞。完成标准是文档明确说明 name 过滤器接受正则表达式。
由索引模型根据 Issue 内容生成。
描述
Problem description
Docker ps command filtering option allows using regular expressions in its name parameter, while by the docs by it seems only strings are allowed and that it:
matches on all or part of a container’s name
Problem location
- I saw a problem on the following URL: https://docs-stage.docker.com/engine/reference/commandline/ps/#name
Project version(s) affected
I already checked this on 19.03.11, where I have two identically prefixed containers:
- app
- app_stage
Here
docker ps -a --filter name=app
returns both, while:
docker ps -a --filter name=^app$
only returns the first one.
Suggestions for a fix
Clarify that, at least for the name filter option, a regular expression may be specified.
I learned that from this comment.
- 主要语言
- Markdown
- 星标
- 4.7k
- 派生
- 8.5k
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 135
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/docs 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
-
[docs-scanner] S3 and Azure Blob cache backends marked as unreleased but have complete documentation未关闭
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
status/triage
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
[docs-scanner] Confusing explanation of approval-required outcome vs permit in MCP policy可能已有人在做 @dave123981 于 3 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 67/100
MicrosoftDocs/WSL#2654 ·
-
难度 1/5 1-3 小时 新手友好度 85/100
hibernate/hibernate-reactive#4485 ·
维护者通常 1 天内回复
-
vuln:LOW
难度 1/5 1 小时以内 新手友好度 63/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
mxschmitt/awesome-playwright#285 ·
维护者通常 19 天内回复
-
area/access-management Frontend onboarding candidate :handshake:
难度 2/5 1-3 小时 新手友好度 65/100
Altinn/altinn-auth#4941 ·
维护者通常 1 天内回复