Share feedback
Answers are generated based on the documentation.

docker compose commit

内容説明Create a new image from a service container's changes
利用方法docker compose commit [OPTIONS] SERVICE [REPOSITORY[:TAG]]

内容説明

Create a new image from a service container's changes

オプション

オプションデフォルト内容説明
-a, --author作者 (たとえば "John Hannibal Smith hannibal@a-team.com")
-c, --change生成済みイメージに対して Dockerfile 命令を適用します。
--indexサービスが複数のレプリカを有する場合のコンテナーのインデックス。
-m, --messageコミットメッセージ。
-p, --pausetrueコミット中にコンテナーを一時的に停止します。