podman commit
Create a new image based on the changed container. More information: https://docs.podman.io/en/latest/markdown/podman-commit.1.html.
- Create an image from a specific container:
podman commit :
- Apply an
ENVinstruction to the created image:
podman commit "ENV =" :
- Apply
LABEL,ENTRYPOINT, andCMDinstruction to the created image:
podman commit CMD= ENTRYPOINT= "LABEL =" :
- Create an image with a specific author and comment in the metadata:
podman commit "" "" :
- Create an image without pausing the container during commit:
podman commit false :
- Display help:
podman commit --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
