Skip to content

Commit

Permalink
docs: mention a way to preserve running containers (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
DDtKey authored Apr 26, 2024
1 parent d2f953f commit b2670fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testcontainers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
//! First, you need to define the [`Image`] that you want to run, and then simply call the `start` method on it from either the [`AsyncRunner`] or [`SyncRunner`] trait.
//! This will return you [`ContainerAsync`] or [`Container`] respectively.
//! Containers implement `Drop`. As soon as they go out of scope, the underlying docker container is removed.
//! To disable this behavior, you can set ENV variable `TESTCONTAINERS_COMMAND` to `keep`.
//!
//! See examples in the corresponding runner ([`AsyncRunner`] and [`SyncRunner`])
//!
Expand Down

0 comments on commit b2670fd

Please sign in to comment.