https://github.com/raphamorim/rust-dockerclient
Rust client for the Docker remote API
https://github.com/raphamorim/rust-dockerclient
docker docker-api docker-client rust rust-dockerclient
Last synced: about 1 year ago
JSON representation
Rust client for the Docker remote API
- Host: GitHub
- URL: https://github.com/raphamorim/rust-dockerclient
- Owner: raphamorim
- Created: 2016-10-21T04:27:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-24T15:35:03.000Z (over 9 years ago)
- Last Synced: 2025-05-07T15:05:33.839Z (about 1 year ago)
- Topics: docker, docker-api, docker-client, rust, rust-dockerclient
- Language: Rust
- Size: 3.91 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust-dockerclient
This package presents a client for the Docker remote API. It currently supports the Docker API up to version 1.23.
Note that docker's network API is only available in docker 1.8 and above, and only enabled in docker if DOCKER_EXPERIMENTAL is defined during the docker build process.
For more details, check the [remote API
documentation](https://docs.docker.com/engine/reference/api/docker_remote_api/).
## How it works?
```rust
extern crate docker;
use docker::Docker;
fn main() {
let endpoint = "/var/run/docker.sock";
let client = Docker::new(endpoint);
let images = client.list_images();
}
```
Inspired by [go-dockerclient](https://github.com/fsouza/go-dockerclient)