Ru

Run Docker images as serverless functions

Hacker News

Run Docker images as serverless functions

I love things that can be self-hosted. Another thing I love is building things with the UNIX philosophy in mind - simple, modular, and composable software that perform specific tasks well. And I think that containerization on top of serverless can help immensely with just that. Seeing as there aren't as many solutions currently out there that would enable me to run containers as serverless functions I decided to build something myself. The way this applications runs those containers as functions is by exposing an HTTP API that you can call to start a new container, pass it some data as a JSON payload, do some stuff inside the container, and return some JSON data back to the caller. Both the request and response are stored inside a request-scoped directory mounted to the container along with environment variables for finding both of them, and you use those to communicate. You can basically use any language or runtime (or combination of them) as long as they're able to read and write to a JSON file. I know that the whole point of "serverless" is to not have to manage servers, but a lot of the serverless providers available put certain limits and constraints on what your functions can do and what they can't. Sometimes you just want a simple way of running isolated code over an HTTP interface, and that's why this app exists. I just started the project two days ago, but I plan on both extending and improving it further as time goes on. But since the application does what I wanted to achieve, I thought I'd share it with you all and hear your thoughts on this.

Share card

Actual performance

3points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
83%83% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: dock, new, tasks · Missing: mac, agents, macos
78%78% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, ide, io · Missing: https docs, excited, just released
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: host, interface · Missing: plus, platform, intuitive
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
29%29% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Te
TensorFlow and Serverless Docker69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TensorFlow and Serverless Docker

Hacker News2
Fa
FaaS – Serverless functions framework for Docker61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FaaS – Serverless functions framework for Docker

Hacker News73
ts
tsdocker – run Docker containers on your Tailnet52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

tsdocker – run Docker containers on your Tailnet

Hacker News2
#!
#!/usr/bin/env docker run28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

#!/usr/bin/env docker run

Hacker News496
Do
Docker-boot – Run a system from RAM without LiveCD62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Docker-boot – Run a system from RAM without LiveCD

Hacker News27
Wh
Whalebrew – Homebrew, but with Docker images44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Whalebrew – Homebrew, but with Docker images

Hacker News11
In
Intro to Docker Images and Containers58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Intro to Docker Images and Containers

Hacker News3
Do
Docuum – LRU Eviction of Docker Images50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Docuum – LRU Eviction of Docker Images

Hacker News10
CL
CLI to Run Docker Images in a Firecracker VM52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CLI to Run Docker Images in a Firecracker VM

Hacker News1
Mu
Multi-OS Serverless Cluster with Docker51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Multi-OS Serverless Cluster with Docker

Hacker News2