You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,15 @@ This setup creates a connection between the launched container and its owner. Wh
12
12
13
13
## PodKeeper vs. TestContainers
14
14
15
-
Both PodKeeper and [TestContainers](https://testcontainers.com/)address the problem of starting, stopping, and cleaning up Docker containers:
15
+
Both PodKeeper and [TestContainers](https://testcontainers.com/)provide solutions for starting, stopping, and cleaning up Docker containers:
16
16
17
-
-**TestContainers** uses a dedicated Docker container called "Ryuk" to handle cleanup.
18
-
-**PodKeeper** manages cleanup using a [dead man's switch](https://en.wikipedia.org/wiki/Dead_man%27s_switch) mechanism.
17
+
-**TestContainers** uses a dedicated Docker container called "Ryuk" to manage cleanup.
18
+
-**PodKeeper** relies on a [dead man's switch](https://en.wikipedia.org/wiki/Dead_man%27s_switch) mechanism for cleanup.
19
+
20
+
While TestContainers is a mature, industry-proven tool, PodKeeper is an experimental alternative that explores a different approach.
21
+
22
+
There are also some notable differences in API design philosophy:
23
+
24
+
-**Process Behavior**: PodKeeper services prevent the Node.js process from exiting, while TestContainers services do not.
25
+
-**Container Pulling**: PodKeeper does not implicitly pull containers, requiring them to be available beforehand, whereas TestContainers lazily pulls containers as needed when launching a service.
19
26
20
-
While TestContainers is a well-established solution with a solid industry record, PodKeeper is an experimental approach exploring an alternative cleanup method.
0 commit comments