docker_compose#
Launch Fluent through docker compose.
Classes:
|
Launch Fluent through docker or Podman compose. |
- class ansys.fluent.core.docker.docker_compose.ComposeBasedLauncher(*, container_dict)#
Bases:
object
Launch Fluent through docker or Podman compose.
Methods:
__init__
(*, container_dict)Check if the image exists locally.
Pull a Docker image if it does not exist locally.
start
()Start the services.
stop
()Stop the services.
Attributes:
Return the ports of the launched services.
- __init__(*, container_dict)#
- check_image_exists()#
Check if the image exists locally.
- pull_image()#
Pull a Docker image if it does not exist locally.
- start()#
Start the services.
- Raises:
subprocess.CalledProcessError
If the command fails.
- stop()#
Stop the services.
- Raises:
subprocess.CalledProcessError
If the command fails.