//! Docker client helpers used by both natmap and auto-discover.
use Docker;
use Result;
/// Connect to the local Docker daemon via the default socket or `DOCKER_HOST` env var.
/// Strip the leading `/` that Docker prepends to container names.
///
/// Docker names come in the format `"/example-drive"`. This returns `"example-drive"`.