bollard icon indicating copy to clipboard operation
bollard copied to clipboard

Docker daemon API in Rust

Results 49 bollard issues
Sort by recently updated
recently updated
newest added

```rs #[get("/docker/version")] pub async fn docker_version() -> Result { #[cfg(unix)] let docker = Docker::connect_with_unix_defaults().expect("Impossible to connect to Docker"); let version: Option = match docker.version().await { Ok(v) => v.version, Err(_err) =>...

In order to create a container you need to use the `Config` struct like so: ```rust let create_container_config: Config = Config { image: Some("some_image".to_string()), ..Default::default() }; let res = docker...

The `Default` implementation for some of your options structs like `CreateExecOptions` or `ListContainerOptions` require the type parameter `T` to also implement `Default`, eventhough this is not necessary because it is...

Hey all, not sure if this is the right place to ask, but the maintainers of this crate seem familiar with the Docker engine API, and I figured I'd ask...

First of all, thanks for patching the fixes triggered by Cargo audit, and generally maintaining this crate. It has been super useful for me, and I appreciate all the work...

Does this library support the [Client.ContainerAttach](https://godoc.org/github.com/docker/docker/client#Client.ContainerAttach) methods to read stdout and write to stdin?

From reading documentation it seems if an image isn't present on host the library will [pull from Docker Hub](https://github.com/fussybeaver/bollard/blob/master/src/image.rs#L1570) but this doesn't seem to be happening. Could I be missing...

I am trying to capture output from a running container using `Docker::attach_container` but it appears that the output stream does not close even though the container exited (and which was...

Updates the requirements on [serde_with](https://github.com/jonasbb/serde_with) to permit the latest version. Release notes Sourced from serde_with's releases. serde_with_macros v2.0.1 Changed Warn if serde_as is used on an enum variant. Attributes on...

dependencies
rust