TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Use Docker Engine from VM

1 点作者 kbbgl87超过 1 年前
I have a Mac host machine that has a Docker daemon running on it. I have multipass installed on the host machine which I use to create Ubuntu VMs. The VMs are created in a bridged network. I was able to set up ssh both ways so I can access the VMs from my host and vice versa. Thing is, my VM has very limited resources and I need to use Docker within it. I was thinking to set up the Docker client on the VM to use the Docker engine/daemon of my host machine. How would I do something like that?

2 条评论

JojoFatsani超过 1 年前
Somewhere in the docker daemon’s config parameters I imagine: <a href="https:&#x2F;&#x2F;docs.docker.com&#x2F;engine&#x2F;reference&#x2F;commandline&#x2F;dockerd" rel="nofollow">https:&#x2F;&#x2F;docs.docker.com&#x2F;engine&#x2F;reference&#x2F;commandline&#x2F;dockerd</a>
stop50超过 1 年前
You can open the socket on an network that can only be accessed between host an vm.
评论 #39049368 未加载