https://dagster.io/ logo
Title
i

Ismael Rodrigues

01/31/2023, 4:30 AM
Good night, everyone! Is there any configuration I can use to delete these "PODs" after the execution? (elegant_feyman and jovial_swanson) They are created by the DockerRunLauncher
j

johann

01/31/2023, 4:49 PM
Hi Ismael, you can set
run_launcher:
  module: dagster_docker
  class: DockerRunLauncher
  config:
    ...
    container_kwargs:
      auto_remove: true
auto_remove
will get passed to the
container.create
method of the Docker python client https://docker-py.readthedocs.io/en/stable/containers.html#docker.models.containers.ContainerCollection.run
i

Ismael Rodrigues

02/01/2023, 12:31 AM
Thanks!!