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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Command Line Tool to push Docker images to a server over ssh

10 点作者 bthornbury超过 6 年前

1 comment

bthornbury超过 6 年前
A little bit on how this tool works.<p>Usually you can easily push your local docker images by calling docker save, scp the tar file, then docker load on the remote host. The downside here is that you are pushing every layer of the entire image every time (maybe GBs).<p>An alternative is to set up your own private registry or use a public one like dockerhub. This can be undesirable or cumbersome for a number of reasons, especially for code you prefer to keep private.<p>So this tool essentially establishes a private registry on your host which is only bound to localhost (no outside access), establishes an ssh tunnel from your host to the remote to access that private registry, pushes only the layers which don&#x27;t yet exist on the host, and then cleans up after itself (closing down the registry, ssh tunnel, etc...).
评论 #17993550 未加载