test: add entrypoint to containers.run
This commit is contained in:
parent
09c8e64ff4
commit
cc9a158784
|
@ -50,7 +50,14 @@ class DockerManager:
|
|||
cli_args_str_for_log = " ".join(cli_args)
|
||||
logger.debug(f"docker run -i -t {port_bindings} {image_name} {cli_args_str_for_log}")
|
||||
container = self._client.containers.run(
|
||||
image_name, command=cli_args, ports=port_bindings, detach=True, remove=remove_container, auto_remove=remove_container, volumes=volumes
|
||||
image_name,
|
||||
command=cli_args,
|
||||
ports=port_bindings,
|
||||
detach=True,
|
||||
remove=remove_container,
|
||||
auto_remove=remove_container,
|
||||
volumes=volumes,
|
||||
entrypoint=entrypoint,
|
||||
)
|
||||
|
||||
network = self._client.networks.get(NETWORK_NAME)
|
||||
|
|
|
@ -74,5 +74,5 @@ class NomosNode:
|
|||
entrypoint=self._entrypoint,
|
||||
remove_container=True,
|
||||
)
|
||||
|
||||
logger.debug(f"Container returned {self._container}")
|
||||
logger.debug(f"Started container from image {self._image_name}")
|
||||
|
|
Loading…
Reference in New Issue