bollard
bollard copied to clipboard
Docker daemon API in Rust
In https://github.com/fussybeaver/bollard/blob/master/examples/stats.rs, what is the purpose of `#![type_length_limit = "2097152"]`? I couldn't find anything in the docs.
Hi, I have added a `status` field to the ListServicesOptions, which can trigger the return of `ServiceStatus`. For example, for my Replicated Service, I can get: ```json "ServiceStatus": { "RunningTasks":...
## Summary Currently Bollard relies on serde_with for a couple of uses in the swagger crate. It specifies serde_with 3+ but 2+ actually works just fine, at least if `cargo...
It would be awesome if you could support [Youki](https://github.com/containers/youki) as container runtime
Added the Bollard to Nixpacks (https://github.com/railwayapp/nixpacks/pull/709) and having the "no active sessions error" To test, pull down that branch and run `cargo run build ./examples/node`
Hello Goodnight!. I am testing an example of the slightly modified lib it would be running like this. ```let mut build_image_args = HashMap::new(); build_image_args.insert("version_url", versionNumber.as_str()); build_image_args.insert("version_number", versionUrl.as_str()); let build_image_options =...
I used the `Docker::list_containers` method to list all existing containers, which returns a list of `ContainerSummary` values. But every field of that struct is wrapped in an `Option`! For instance,...
Error: ```json JsonDataError { message: "missing field `VirtualSize` at line 1 column 311", contents: "[{\"Containers\":-1,\"Created\":1683046167,\"Id\":\"sha256:d2c94e258dcb3c5ac2798d32e1249e42ef01cba4841c2234249495f87264ac5a\",\"Labels\":null,\"ParentId\":\"\",\"RepoDigests\":[\"hello-world@sha256:a26bff933ddc26d5cdf7faa98b4ae1e3ec20c4985e6f87ac0973052224d24302\"],\"RepoTags\":[\"hello-world:latest\"],\"SharedSize\":-1,\"Size\":13256}]\n", column: 311 } ``` ```rust // main.rs use bollard::{image::ListImagesOptions, Docker}; #[tokio::main] async fn main() {...
I need to create the container and start it right away, and when the internal task is finished executing, the container should be automatically deleted, I get this behavior using...
I would like to build an image using BuildKit and push it to a registry afterwards while being able to report the progress. What's the best way to achieve this?...