Compartir comentarios
Las respuestas se generan en base a la documentación.

docker compose commit

DescripciónCreate a new image from a service container's changes
Usodocker compose commit [OPTIONS] SERVICE [REPOSITORY[:TAG]]

Descripción

Create a new image from a service container's changes

Opciones

OpciónPredeterminadoDescripción
-a, --authorAuthor (e.g., "John Hannibal Smith [email protected]")
-c, --changeApply Dockerfile instruction to the created image
--indexindex of the container if service has multiple replicas.
-m, --messageCommit message
-p, --pausetruePause container during commit