Skip to content

[Proposal] Add "docker commit" to "Interacting with running containers" section #4

Description

@rubensa

The commit command is useful to interactively create an image.

See official doc: https://docs.docker.com/engine/reference/commandline/commit/

Some thing like:

$ docker commit [<opts>] <container> [<repository> [<:tag>]]
 			Create a new image from a container’s changes
	-a, --author 	Author (e.g., “John Hannibal Smith hannibal@a-team.com”)
	-c, --change	Apply Dockerfile instruction to the created image
	-m, --message	Commit message
	-p, --pause	Pause container during commit

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions