Skip to content

Commit 8962ef9

Browse files
committed
feat: re-export bollard
This is extrimely useful if someone wants to utilize `docker_client_instance` and work with docker API in their code utilizing pre-configured client. However it also assumes user will need corresponding `bollard` types and version allignment. This PR solves this
1 parent 784dc7c commit 8962ef9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testcontainers/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,8 @@ mod images;
9595
pub use images::generic::GenericImage;
9696

9797
pub mod runners;
98+
99+
/// Re-export of the `bollard` crate to allow direct interaction with the Docker API.
100+
/// This also solves potential version conflicts between `testcontainers` and `bollard` deps.
101+
pub use bollard;
102+
pub use bollard_stubs;

0 commit comments

Comments
 (0)