ContainerHook
izumi.distage.docker.model.ContainerHook
trait ContainerHook
Runs against a container after it is created and before it is started.
A container is reused only if it was created with hooks whose reuseKeys are identical, in the same order. The key must therefore identify everything the hook changes in the container, and must be stable across runs for reuse to work at all.
If afterCreate throws, the container is removed and acquisition fails with a DockerFailureException whose cause is the hook's exception.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CopyFilesHook
Members list
In this article