Decision Workspace
docker-api vs testcontainers vs bollard
Side-by-side comparison of Rust crates
43
docker-api
growingv0.14.0
Interface to Docker API
68
testcontainers
growingv0.27.3
A library for integration-testing against docker containers from within Rust.
65
bollard
growingv0.21.0
An asynchronous Docker daemon API
Core Metrics
| docker-api | testcontainers | bollard | |
|---|---|---|---|
| Health Score | 43 | 68 | 65 |
| Total Downloads | 589.9K | 24.6M | 32.5M |
| 30d Downloads | 21.4K | 3.4M | 4.0M |
| Dependents | 75 | 6.4K | 2.5K |
| Releases | 24 | 50 | 48 |
| Last Updated | 1085d ago | 40d ago | 21d ago |
| Age | 4y 11m | 7y 9m | 7y 5m |
Health Breakdown
docker-api
Maintenance
6
Quality
10
Community
7
Popularity
7
Documentation
13
testcontainers
Maintenance
17
Quality
13
Community
18
Popularity
8
Documentation
12
bollard
Maintenance
19
Quality
13
Community
12
Popularity
8
Documentation
13
Technical Details
| docker-api | testcontainers | bollard | |
|---|---|---|---|
| Version | 0.14.0 | 0.27.3 | 0.21.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 28 | 36 | 50 |
| Crate Size | 67KB | 122KB | 142KB |
| Features | 5 | 13 | 26 |
| Yanked % | 16.7% | 2.0% | 2.1% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.88 | — |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •testcontainers leads with a health score of 68/100, but none of the options score above 80.
- •bollard has the most downloads (32.5M), suggesting wider adoption.
- •testcontainers is depended on by 6.4K crates — strongest ecosystem trust.
- •⚠ docker-api has not been updated in over a year.