Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Neat project, but what does this do differently than docker compose with the --host flag? 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


What!?!? This is a thing? How did I not know about this. Thanks for the share!


Yeah, 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/


To 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.


I don't see that at all?


This 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!


Is there a single line Podman alternative?


Wow - never seen that before.


Probably pretty similar except you get to just write "pooshit" instead.


Love it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: