docker-volume-rs
Overview
A helper package to create docker volumes in Rust, inspired by https://github.com/docker/go-plugins-helpers
Usage
- Implement the
VolumeDriverasync_trait
- Initialize a
VolumeHandlerwith either TCP or Unix Sockets
let driver = new;
let handler = new;
- Call either
run_tcporrun_unix_socketfrom theVolumeHandler
handler.run_tcp.await?;
Installation
Add the following to your Cargo.tom
[]
= "0.1.0"