April 2018
Intermediate to advanced
250 pages
5h 42m
English
This section will discuss how to use the basics of the Fn CLI, a command line to control Fn. Let's start with the installation of the Fn CLI. Make sure that the curl command exists on your system:
$ curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh
After installing the previous command, check its version and help by typing fn. The current version of the command line is 0.4.43 at the time of writing. Things move fast, so you can expect to use the different version anyway:
$ fnfn 0.4.43Fn command line toolENVIRONMENT VARIABLES: FN_API_URL - Fn server address FN_REGISTRY - Docker registry to push images to, use username only to push to Docker Hub - [[registry.hub.docker.com/]USERNAME]COMMANDS:...
There ...
Read now
Unlock full access