Skip to content

Docker commit command appears ambiguous #25916

Description

@hikmat-aliyev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions