Skip to content

Commit acc6af9

Browse files
fix reaper - auto_remove=True - from #499
1 parent c07e99c commit acc6af9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/testcontainers/core/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def _create_instance(cls) -> "Reaper":
193193
.with_name(f"testcontainers-ryuk-{SESSION_ID}")
194194
.with_exposed_ports(8080)
195195
.with_volume_mapping(RYUK_DOCKER_SOCKET, "/var/run/docker.sock", "rw")
196-
.with_kwargs(privileged=RYUK_PRIVILEGED)
196+
.with_kwargs(privileged=RYUK_PRIVILEGED, auto_remove=True)
197197
.start()
198198
)
199199
wait_for_logs(Reaper._container, r".* Started!")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "testcontainers"
3-
version = "4.1.0" # auto-incremented by release-please
3+
version = "4.1.2" # auto-incremented by release-please
44
description = "Python library for throwaway instances of anything that can run in a Docker container"
55
authors = ["Sergey Pirogov <[email protected]>"]
66
maintainers = [

0 commit comments

Comments
 (0)