Functions as a Service – Deploying Functions to Docker Swarm via a CLI


Functions as a Service or FaaS (by Alex Ellis) is a really neat way of implementing serverless functions with Docker. You can build out functions in any programming language and then deploy them to your existing Docker Swarm.

In this post we’ll look at an experimental CLI for making this process even easier.

How it works

The diagram below gives an overview of how the FaaS function package, the Docker image, and the faas-cli deploy command fit together.