Skip to content

Commit

Permalink
fix reaper - auto_remove=True - from #499
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderankin committed Mar 24, 2024
1 parent c07e99c commit acc6af9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/testcontainers/core/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _create_instance(cls) -> "Reaper":
.with_name(f"testcontainers-ryuk-{SESSION_ID}")
.with_exposed_ports(8080)
.with_volume_mapping(RYUK_DOCKER_SOCKET, "/var/run/docker.sock", "rw")
.with_kwargs(privileged=RYUK_PRIVILEGED)
.with_kwargs(privileged=RYUK_PRIVILEGED, auto_remove=True)
.start()
)
wait_for_logs(Reaper._container, r".* Started!")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "testcontainers"
version = "4.1.0" # auto-incremented by release-please
version = "4.1.2" # auto-incremented by release-please
description = "Python library for throwaway instances of anything that can run in a Docker container"
authors = ["Sergey Pirogov <[email protected]>"]
maintainers = [
Expand Down

0 comments on commit acc6af9

Please sign in to comment.