-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

docker commit


> Create a new image from a container’s changes.

More information.


Create an image from a specific container:

docker commit {container} {image}:{tag}

Apply a `CMD` Dockerfile instruction to the created image:

docker commit --change="CMD {command}" {container} {image}:{tag}

Apply an `ENV` Dockerfile instruction to the created image:

docker commit --change="ENV {name}={value}" {container} {image}:{tag}

Create an image with a specific author in the metadata:

docker commit --author="{author}" {container} {image}:{tag}

Create an image with a specific comment in the metadata:

docker commit --message="{comment}" {container} {image}:{tag}

Create an image without pausing the container during commit:

docker commit --pause={false} {container} {image}:{tag}

Display help:

docker commit --help


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 05:48:21 2024