Thomas Rolfsnes
03/13/2024, 8:41 AMScout
03/13/2024, 8:41 AMThomas Rolfsnes
03/13/2024, 8:42 AMScout
03/13/2024, 8:42 AMauto_remove
parameter to true
in your dagster_cloud.yaml
file. This parameter is part of the container_kwargs
configuration. Here's an example of how you can set it: yaml container_context: docker: container_kwargs: auto_remove: true
By setting auto_remove: true
, Docker will automatically remove the container when it exits. This configuration should help manage the cleanup of stopped containers without the need for manual intervention. Please note that this configuration is specific to the Docker agent in Dagster Cloud, and the documentation indicates that this was missing from the Docker agent docs but will be updated.