docker commit

Table of Contents

main

摘要

Create a new image from a container’s changes

如何使用

结构

docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]

选项

  • --author , -a Author (e.g., “John Hannibal Smith hannibal@a-team.com”)
  • --change , -c Apply Dockerfile instruction to the created image
  • --message , -m Commit message
  • --pause , -p true Pause container during commit

参考

Date: 2018-02-26

Author: Dongsoo Lee

Created: 2018-12-10 Mon 03:14

Validate