docker / docker/docs

Docker commit command appears ambiguous

Open Beginner friendly
#25,916 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/triage
Dominant language
Markdown
Stars
4.7k
Forks
8.5k
Avg merge
2d 18h
Merged PRs (30d)
108

Description

Is this a docs issue?
  • My issue is about the documentation content or website
Type of issue

Other

Description

On 'Create a base image' section, in 5th step, the tutorial instructs users to run docker container commit -m "Add node" base-container node-base after entering an interactive Ubuntu container. As written, less-experienced users may attempt to run the command from inside the container and receive docker: command not found.

Location

https://docs.docker.com/get-started/docker-concepts/building-images/understanding-image-layers/

Suggestion

It might be helpful to explicitly state that the commit command should be executed from the host terminal after exiting the container.

No response

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

Open the linked “Understanding image layers” documentation page and locate the “Create a base image” section and fifth step. Check the instructions around the interactive Ubuntu container, then clarify that the docker container commit command runs from the host terminal after exiting the container. Done means the step clearly distinguishes the container shell from the host terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.