Let's deploy a local function

Firstly, carry out fn start to up a standalone Fn Server instance. The server is started by setting up the log level to be info, the default setting. The Fn Server then connects to the datastore, the Log Store. The current implementation is SQLite3. After that, the agent will be started. The Docker agent connects to the local Docker engine with its default configuration. Finally, the Fn starts listening to port 8080:

$ fn starttime="2018-03-17T08:48:39Z" level=info msg="Setting log level to" level=infotime="2018-03-17T08:48:39Z" level=info msg="datastore dialed" datastore=sqlite3 max_idle_connections=256time="2018-03-17T08:48:40Z" level=info msg="agent starting cfg=&{MinDockerVersion:17.06.0-ce FreezeIdle:50ms ...

Get Docker for Serverless Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.