Create a new image from a container’s changes.
docker commit {container} {image}:{tag}
CMD
Dockerfile instruction to the created image:
docker commit --change="CMD {command}" {container} {image}:{tag}
ENV
Dockerfile instruction to the created image:
docker commit --change="ENV {name}={value}" {container} {image}:{tag}
docker commit --author="{author}" {container} {image}:{tag}
docker commit --message="{comment}" {container} {image}:{tag}
docker commit --pause={false} {container} {image}:{tag}
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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB