rust_docker 0.1.1

A docker wrapper to interact with docker daemon.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
quick_error! {
    #[derive(Debug)]
    pub enum DockerClientError {
        InvalidTargetAddress(addr: &'static str) {
            description("The target address is not valid")
            display("The target address `{}` is not valid", addr)
        }

        SocketConnectionError(addr: &'static str) {
            description("Could not connect to docker socket.")
            display("Error while connection to docker socket at {}", addr)
        }
    }
}