Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unable to connect to remote docker host when using SSH

未关闭
#519 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@stuartpa 已经在做这个了。

开始于 2024年4月16日。

评估

这个 Issue 还没有评估数据。

描述

I am connecting from a VM running in Parallels to the host Mac OS's Docker instance. I have successfully been able to run a docker pull hello-world but I am unable to use the sqlcmd create mssql command. Here is the output from the Windows side:

1 pwsh> sqlcmd create mssql --accept-eula
Downloading mcr.microsoft.com/mssql/server:latest

HINT:
  1. Is a container runtime installed on this machine (e.g. Podman or Docker)?
        If not, download desktop engine from:
                https://podman-desktop.io/
                or
                https://docs.docker.com/get-docker/
  2. Is a container runtime running?  (Try `podman ps` or `docker ps` (list containers), does it return without error?)
  3. If `podman ps` or `docker ps` works, try downloading the image with:
        `podman|docker pull mcr.microsoft.com/mssql/server:latest`

Error: Unable to download image mcr.microsoft.com/mssql/server:latest: error during connect: Post "http://shafiq.jetha%4010.211.55.2/v1.43/images/create?fromImage=mcr.microsoft.com%2Fmssql%2Fserver&tag=latest": dial tcp: lookup [email protected]: getaddrinfow: A non-recoverable error occurred during a database lookup.
主要语言
Go
星标
604
派生
91
PR 合并指标
30 天内没有已合并 PR

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/go-sqlcmd 的其他 Issue

查看 microsoft/go-sqlcmd 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。