Skip to content

Latching not working for VanillaDockerApplications built on hub images #311

@johnmccabe

Description

@johnmccabe

If you build a VanillaDockerApplication on top of a docker hub image which is configured to start on run (ie has an entrypoint) then none of the provided latch points are suitable to prevent the container from running when provisioned (even the provision latch).

Currently you have to make use of the env: tag to create a latch that blocks creation (and running) of the container.

For example:

env:
  DUMMY_LATCHING_VAR: $brooklyn:component("global", "my-latched-on-entity").attributeWhenReady("service.isUp")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions