moby / moby/moby

Keep a record on whether a container's name is auto-generated

Open
#45,755 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/api exp/beginner kind/feature
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.