Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
agatti opened this issue Apr 9, 2021 · 0 comments
Open

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

agatti opened this issue Apr 9, 2021 · 0 comments

Comments

@agatti
Copy link

agatti commented Apr 9, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant