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

Zarf fails local 'docker' fallback with docker-over-ssh #2943

Open
mjnagel opened this issue Aug 29, 2024 · 0 comments
Open

Zarf fails local 'docker' fallback with docker-over-ssh #2943

mjnagel opened this issue Aug 29, 2024 · 0 comments
Assignees

Comments

@mjnagel
Copy link
Contributor

mjnagel commented Aug 29, 2024

Environment

Device and OS: macOS, with Ubuntu over SSH
App version: 0.38.3
Kubernetes distro being used: N/A

Steps to reproduce

  1. Setup docker daemon on a remote box that you can SSH to (this tutorial may be helpful).
  2. Set your docker host to be the remote docker-over-ssh. Note that this must be done via the DOCKER_HOST env due to this issue. For example: export DOCKER_HOST=ssh://[email protected].
  3. Test some docker commands, validate connection works (could also validate with k3d and other tooling that interacts with the docker daemon).
  4. Attempt to build a zarf package that requires the local docker fallback.

Expected result

Zarf is able to pull the image from "local" docker daemon (or fails to find the image).

Actual Result

Zarf fails to connect, appearing to try and hit the docker endpoint with an http call.

Visual Proof (screenshots, videos, text, etc)

 WARNING  Falling back to local 'docker', failed to find the manifest on a remote: GET
          https://index.docker.io/v2/mjnagel/test123/manifests/latest: MANIFEST_UNKNOWN: manifest
          unknown; unknown tag=latest
     ERROR:  failed to create package: error during connect: Get "http://mjnagel%401.2.3.4/v1.24/images/docker.io/mjnagel/test123:latest/json": dial tcp: lookup [email protected]: no such host

Severity/Priority

Medium - no known workarounds for this outside of being directly on the box with the docker daemon.

Additional Context

Unsure if this is a bug or just a known limitation.

@github-project-automation github-project-automation bot moved this to Backlog in Zarf Aug 29, 2024
@schristoff schristoff moved this from Backlog to Triage in Zarf Jan 10, 2025
@schristoff schristoff moved this from Triage to Backlog in Zarf Jan 10, 2025
@brandtkeller brandtkeller self-assigned this Feb 13, 2025
@brandtkeller brandtkeller moved this from Backlog to In progress in Zarf Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

2 participants