6 ms·
Neat project, but what does this do differently than docker compose with the --host flag? https://docs.docker.com/reference/cli/docker/#host https://docs.docker
by sippeangelo 1y ago
Neat project, but what does this do differently than docker compose with the --host flag? https://docs.docker.com/reference/cli/docker/#host https://docs.docker.com/reference/cli/docker/#host
It uploads your whole local docker context, source code and all, builds the image on the remote server and up's the container(s) all with a single command. I use this all the time when deploying simple services to avoid all of the complexity of registries etc.
docker -H ssh://remote compose up -d
- aitchnyu 1y agoIs there a single line Podman alternative?
- zsimjee 1y agoTo me, it looks like this new project is aimed more at being able to develop remotely and share your localhost:3000 env instead of getting a real production box up. Bidi sync etc... hints at that, it's like having a 2-interface dev env.
- sippeangelo 1y agoI don't see that at all?
- robertlagrant 1y agoWow - never seen that before.
- marktolson 1y agoProbably pretty similar except you get to just write "pooshit" instead.
- sippeangelo 1y agoLove it.
- parhamn 1y agoWhat!?!? This is a thing? How did I not know about this. Thanks for the share!
- pploug 1y agoYeah, its the same underlying functionality that Depot, Docker Cloud Build and also Offload uses under the hood to switch the context to a remote host: https://www.docker.com/products/docker-offload/ https://www.docker.com/products/docker-offload/
- DarmokJalad1701 1y agoThis random comment just saved me several hours of work. I had no idea I could pass in ssh URLs to -H. It turns out that this also works with the docker python library!