LinuxCommandLibrary

docker-container-commit

create image from container state

TLDR

Create image from container

$ docker container commit [container] [image:tag]
copy
Commit with message
$ docker container commit -m "[message]" [container] [image:tag]
copy

SYNOPSIS

docker container commit [options] container [repository[:tag]]

DESCRIPTION

docker container commit creates a new image from a container's changes. This is an alias for docker commit.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community