Keep a record on whether a container's name is auto-generated
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 72.1k
- Forks
- 19.2k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 164
Description
Description
As per #45734, it'd be nice if Docker records whether a container bears an auto-generated name (client.ContainerCreate with an empty containerName argument) or a given name (non-empty containerName at creation time, or client.ContainerRename has been called afterwards). Use case and background has been given in #45734.
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 container creation and rename paths behind client.ContainerCreate and client.ContainerRename, and read #45734 for the use case. Trace where container metadata is persisted and exposed, then cover empty-name creation, explicit-name creation, and later rename; done means the state is retained and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100