There are a number of text conventions used throughout this book.
code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We will try the echoit function to hello world with OpenFaaS."
A block of code is set as follows:
FROM ubuntu
RUN apt-get update && apt-get install -y nginx
EXPOSE 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]
Any command-line input or output is written as follows:
$ curl -sSL https://get.docker.com | sudo sh
$ docker swarm init --advertise-addr=eth0
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "The following screenshot shows the browser running OpenFaaS Portal."
Warnings or important notes appear like this.
Tips and tricks appear like this.