Fn

Open source

Open-source, container-native serverless platform that runs functions packaged as Docker containers in any language, on any cloud or on-premises.

fnproject.io
Fn homepage screenshot
GitHub stars
6k
Last 30 days
+1(+0%)
Last commit
1 mo ago
Repository age
9 years
Version
0.3.25
Licence
Apache-2.0
Self-hosted
Yes

About Fn

Fn is an event-driven, open source Functions-as-a-Service platform written in Go that you can run anywhere: public, private or hybrid cloud, or on-premises. Any Docker container can serve as a function, any language is supported, and existing Lambda functions can be imported and run elsewhere.

Getting started needs Docker 17.10.0-ce or later, or Podman 5.7.0 or later. The command line tool is optional but recommended; it installs through Homebrew on macOS, a shell script on Linux and macOS, a Windows client, or a downloaded binary. Running fn start brings up a local server in single-server mode, and Podman or Rancher users should give it a volume for the unix socket file.

A first function takes a few commands: fn init with a runtime such as Go creates the project, fn create app makes the top-level app, fn deploy with the --local flag skips the registry push, and fn invoke runs it. The project also lists sub-projects called Flow, UI and FnLB, and the code is released under Apache License 2.0.

Key features

  • Any Docker container can be a function
  • Runs on public, private or hybrid cloud
  • Imports Lambda functions
  • Local server started with one command
  • CLI scaffolds functions in many runtimes
  • Local deploys skip the registry push
  • CLI available as a downloadable binary

Good fit for

  • Running serverless functions on-premises
  • Moving Lambda functions to another environment
  • Local development of container-based functions
Tags
serverless
faas
containers
docker
golang
lambda
kubernetes

Fn: questions and answers

What is Fn used for?
Fn is an open-source, container-native serverless platform that runs functions packaged as Docker containers in any language, on any cloud or on-premises. It is a good fit for running serverless functions on-premises, moving Lambda functions to another environment and local development of container-based functions.
Is Fn open source?
Yes. Fn is open source under the Apache-2.0 licence. Its source code is on GitHub at fnproject/fn and is written mainly in Go.
Is Fn free?
Yes. Fn is open source, so the software itself is free to use.
Can I self-host Fn?
Yes. Fn can be self-hosted on your own server or infrastructure.
What is Fn an alternative to?
Fn is an open-source alternative to Modal, AWS Lambda, Azure Functions and Google Cloud Functions. Other open-source alternatives to Modal include Fission, OpenFaaS and Nuclio.
Is Fn actively maintained?
Yes. The most recent commit to Fn was on 24 September 2026, and the latest release is 0.3.25, published on 26 July 2017. The project has 6k stars on GitHub, with 1 added in the last 30 days.

Open-source alternatives to Fn

See all

SaaS alternatives to Fn

See all