pub trait ToRunnableContainer {
// Required method
fn to_runnable(
&self,
builder: RunnableContainerBuilder,
) -> RunnableContainer;
}
Expand description
Provide an RunnableContainer
and configure ports
A container image should implement this trait.
See crate::images
for usage.
Required Methods§
Sourcefn to_runnable(&self, builder: RunnableContainerBuilder) -> RunnableContainer
fn to_runnable(&self, builder: RunnableContainerBuilder) -> RunnableContainer
Build the runnable container