Show HN: Pooshit – Sync local code to remote Docker containers

23 marktolson 17 9/15/2025, 9:46:19 PM
Pronounced Push-It....

I'm a lazy developer for the most part, so this is for people like me. Sometimes I just want my local code running in live remote containers quickly, without building images and syncing to cloud docker repos or setting up git workflows or any of the other draining ways to get your code running remotely.

With pooshit (and a simple config file), you can simply push your local dev files to a remote folder on a VM then automatically remove relevant running containers, then build and run an updated container with one command line call.

It works well with reverse proxies like nginx or caddy as you can specify the docker run arguments in the pooshit_config files.

https://github.com/marktolson/pooshit

Comments (17)

fny · 5m ago
This is a steaming pile of SFTP. Why not use rsync or wrap it if you must?

For anyone who's interested in proper bidirectional sync check out Mutagen.[0]

[0]: https://mutagen.io/documentation/synchronization/

mhuffman · 47m ago
Useful project. Name that no reasonable company would allow IT department to use. 10 out of 10! It worked for CockroachDB. I hope it turns into a unicorn and I'm not joking about that.
another-dave · 39m ago
I can't remember what the package was, but when I was working for "large bank", one of the npm dependencies we wanted to use had a licence file that just said 'Do whatever the fuck you want'.

Legal came back saying that it was "highly unorthodox, but approved for use"

spacebanana7 · 38m ago
I believe people chose to pay Adobe subscriptions simply to avoid explaining the acronym for the GNU Image Manipulation Program in meetings.
WastedCucumber · 1h ago
Dumb question, out of real curiosity - is the double fecal pun deliberate?
robertlagrant · 35m ago
I can't wait for version number 2 to drop
electroglyph · 51m ago
shitty joke if you ask me =)
CBLT · 1h ago
Line 1 of the readme has a poop emoji
sippeangelo · 1h ago
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
zsimjee · 59m ago
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.
sippeangelo · 39m ago
I don't see that at all?
robertlagrant · 34m ago
Wow - never seen that before.
_def · 20m ago
I don't really understand the use case and wonder if containers are the right tool here at all.
ElCapitanMarkla · 1h ago
I had a similar script a few years ago when I refused to give up my aging Macbook Air and built a server to host my dev env. I had an rsync command that would sync the differences from my local machine up to the remote box. It was surprisingly quick considering the size of the projects.
eightnoneone · 1h ago
How does this compare to https://www.devspace.sh/ ?
lagniappe · 1h ago
no middlemane i like it
mouse_ · 1h ago
good post