dnephin / dobi

A build automation tool for Docker applications
https://dnephin.github.io/dobi/
Apache License 2.0
311 stars 36 forks source link

DOCKER_HOST pointing to a SSH host isn't handled #214

Open agatti opened 3 years ago

agatti commented 3 years ago

Seems like when setting DOCKER_HOST to point to a SSH host, dobi fails to execute the requested tasks:

❯ export DOCKER_HOST=ssh://user@host.example.org
❯ dobi buildimage
[ERROR] failed to create client: invalid endpoint 
❯ unset DOCKER_HOST  # Use the locally installer Docker instance.
❯ dobi buildimage
[WARN] Failed to load auth config: open /Users/agatti/.dockercfg: no such file or directory
Step 1/17 : FROM debian:buster-20210111-slim AS base_builder
[...]

Normal Docker commands are executed remotely just fine with DOCKER_HOST set that way, wonder if there is anything I can do to let dobi do that too?