plugins.aea-test-autonomy.aea_
test_
autonomy.docker.acn_
node
ACN Docker Image.
ACNNodeDockerImage Objects
class ACNNodeDockerImage(DockerImage)
Wrapper to ACNNode Docker image.
__
init__
def __init__(client: DockerClient, config: Optional[Dict] = None)
Initialize the ACNNode Docker image.
Arguments:
client
: the Docker client.config
: optional configuration to command line.
image
@property
def image() -> str
Get the image name.
create
def create() -> Container
Create the container.
create_
many
def create_many(nb_containers: int) -> List[Container]
Instantiate the image in many containers, parametrized.
wait
def wait(max_attempts: int = 15, sleep_rate: float = 1.0) -> bool
Wait until the image is up.