Provides functionality for creating and managing EMQX container configurations.
Summary
Functions
Retrieves the default Docker image for the Emqx container.
Returns the address on the host machine where the Emqx container is listening.
Returns the port on the host machine where the Emqx container is listening.
Creates a new EmqxContainer struct with default configurations.
Sets the check image regex (or string) used to validate the container image name before starting.
Overrides the default image used for the Emqx container.
Sets the container name.
Enables or disables container reuse.
Types
Functions
Retrieves the default Docker image for the Emqx container.
Returns the address on the host machine where the Emqx container is listening.
Returns the port on the host machine where the Emqx container is listening.
Creates a new EmqxContainer struct with default configurations.
Sets the check image regex (or string) used to validate the container image name before starting.
Overrides the default image used for the Emqx container.
Examples
iex> config = EmqxContainer.new()
iex> new_config = EmqxContainer.with_image(config, "emqx:xyz")
iex> new_config.image
"emqx:xyz"
Sets the container name.
Enables or disables container reuse.