{"by":"psviderski","descendants":164,"id":44314085,"kids":[44323506,44314310,44322119,44314910,44314577,44316450,44314399,44314955,44314638,44314970,44319187,44319604,44319102,44315091,44314416,44314290,44316121,44325761,44314831,44314204,44315663,44314491,44314264,44315068,44314496,44316192,44314288,44397579,44317189,44314710,44315288,44322292,44317598,44314321,44314464,44317556,44315316,44317635,44316509,44316887,44315967,44314287,44315367,44316370,44316790,44314660,44315962,44317574,44314256,44320400,44317980,44314681,44318559,44318550],"score":726,"text":"I got tired of the push-to-registry&#x2F;pull-from-registry dance every time I needed to deploy a Docker image.<p>In certain cases, using a full-fledged external (or even local) registry is annoying overhead. And if you think about it, there&#x27;s already a form of registry present on any of your Docker-enabled hosts — the Docker&#x27;s own image storage.<p>So I built Unregistry [1] that exposes Docker&#x27;s (containerd) image storage through a standard registry API. It adds a `docker pussh` command that pushes images directly to remote Docker daemons over SSH. It transfers only the missing layers, making it fast and efficient.<p><pre><code>  docker pussh myapp:latest user@server\n</code></pre>\nUnder the hood, it starts a temporary unregistry container on the remote host, pushes to it through an SSH tunnel, and cleans up when done.<p>I&#x27;ve built it as a byproduct while working on Uncloud [2], a tool for deploying containers across a network of Docker hosts, and figured it&#x27;d be useful as a standalone project.<p>Would love to hear your thoughts and use cases!<p>[1]: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;psviderski&#x2F;unregistry\">https:&#x2F;&#x2F;github.com&#x2F;psviderski&#x2F;unregistry</a><p>[2]: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;psviderski&#x2F;uncloud\">https:&#x2F;&#x2F;github.com&#x2F;psviderski&#x2F;uncloud</a>","time":1750288630,"title":"Show HN: Unregistry – “docker push” directly to servers without a registry","type":"story","url":"https://github.com/psviderski/unregistry"}