mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-06 16:00:44 +00:00
Update docker.rs to allow http docker socket connection (#131)
* Update docker.rs to allow http docker socket connection Add or_else to allow attempt to connect to docker socket proxy via http if local connection fails * Update docker.rs Change two part connection to use connect_with_defaults instead, per review on PR.
This commit is contained in:
@@ -30,7 +30,7 @@ pub struct DockerClient {
|
||||
impl Default for DockerClient {
|
||||
fn default() -> DockerClient {
|
||||
DockerClient {
|
||||
docker: Docker::connect_with_local_defaults()
|
||||
docker: Docker::connect_with_defaults()
|
||||
.expect("failed to connect to docker daemon"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user