# docker-api
[](https://github.com/wojciechkepka/docker-api-rs/actions) [](./LICENSE) [](http://docs.rs/docker-api)
> a rust interface to [Docker](https://www.docker.com/) containers
## Install
Add the following to your `Cargo.toml` file
```toml
[dependencies]
docker-api = "0.3"
```
## Supported API
Default endpoints include:
- Containers
- Images
- Networks
- Volumes
- Exec
- System
To enable swarm endpoints add a `swarm` feature to `Cargo.toml` like so:
```toml
docker-api = { version = "0.3", features = ["swarm"] }
```
Swarm endpoints include:
- Swarm
- Nodes
- Services
- Tasks
- Secrets
- Configs
- Plugins
## SSL Connection
To enable HTTPS connection to docker add a `tls` flag to `Cargo.toml`.
## Usage
Examples for most API endpoints can be found in the [examples directory](https://github.com/wojciechkepka/docker-api-rs/tree/master/examples).
## Notice
This crate is a fork of [shiplift](https://github.com/softprops/shiplift).
## License
[MIT](https://raw.githubusercontent.com/wojciechkepka/docker-api-rs/master/LICENSE)