docker-api-rs icon indicating copy to clipboard operation
docker-api-rs copied to clipboard

Rust interface to Docker containers

Results 22 docker-api-rs issues
Sort by recently updated
recently updated
newest added

Looks like there hasn't been any activity here in 9mos or so.. @vv9k is the plan for this to be actively maintained moving forward or is it better to stick...

## What did you implement: - Adds support for `buildargs` argument when building an image. This is exposed on the `ImageBuildOpts` builder as `build_args()`. - The default test `Dockerfile` content...

Putting in my vote for build args as it's a `TODO` in the code :smiley: https://github.com/vv9k/docker-api-rs/blob/b1f1891d1d17cb522cc20212452c8c039c5e0810/src/opts/image.rs#L317

## What did you implement: I've implemented the Docker API call to resize the TTY and the readonly_rootfs flag that allows mounting the rootfs of a Container read-only. Closes: #47...

As far as I can tell there is currently no way to resize a container's TTY using this library. It seems to be possible to resize the TTY of an...

## What did you implement: Added `HostConfig.Binds` to mount host files/directories inside the container. ## How did you verify your change: Added test case to `create_container_opts` and tested locally. ##...

Hi there! We would love to be able to consume the latest crate release, however as the work to [bump the models to 1.43](https://github.com/vv9k/docker-api-rs/commit/851f7091e945d04c055b24809a9b375fc3f0c80d) is on main we're using a...

## What did you implement: Automatically detect the client host endpoint, the same way as [docker-cli](https://github.com/docker/cli/blob/v24.0.5/opts/hosts.go#L11-L33) does. I've implemented this feature in a project I'm working, so I decided to...

In the [docker reference page ](https://docs.docker.com/engine/reference/commandline/build/) they outline the ability to pass in a path to a dockerfile using `--file`. So from the command line we can run something like:...

`TaskStatusInlineItem` doesn't have `PortStatus` field, docker swagger doesn't have it too. ```yaml Status: type: "object" properties: Timestamp: type: "string" format: "dateTime" State: $ref: "#/definitions/TaskState" Message: type: "string" Err: type: "string"...