Skip to content

Database images are still present at the end of the script #975

@carmine-sacco

Description

@carmine-sacco

Describe the bug

I'm using testcontainers locally and I thought that the images were deleted after their usage. Instead the images are still there although there isn't any container. Is it a bug or there is a function or a flag to set for deleting the images too?

To Reproduce

I'm using several database images, like mysql, postgres and all the others. Everything is still there

Runtime environment

Below the required information
OS: MacOS Tahoe 26.3
python: 3.10
docker: 29.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions