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, --pause | true | コミット中にコンテナーを一時的に停止します。 |