Skip to content

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.