Use this file to discover all available pages before exploring further.
Bollard uses a modular feature system powered by Cargo feature flags. Rather than compiling every capability into every binary, you opt in to exactly the transports, TLS providers, and integrations your application needs. This keeps compile times short, binary sizes small, and dependency trees clean.
Use Mozilla’s WebPKI root certificate bundle instead of OS-native certificates.
ssl and aws-lc-rs each install a different Rustls crypto provider. Enable only one. If you need to supply your own provider, use ssl_providerless instead.
[dependencies]bollard = { version = "*", features = ["ssl"] }
When using ssl or aws-lc-rs, Bollard reads certificates from the path given by DOCKER_CERT_PATH (or DOCKER_CONFIG as a fallback, then ~/.docker). It expects three files: key.pem, cert.pem, and ca.pem.
Attaches the raw JSON payload to deserialization errors, making it easier to diagnose unexpected API responses.
json_data_content increases memory usage on error paths because it clones the full response body. Enable it during development or debugging, but consider leaving it off in production builds.
[dependencies]bollard = { version = "*", features = ["json_data_content"] }