Next up, we need to locally install Docker. Although I said at the start of this section that we would not be installing on Docker swarm, OpenFaaS still uses the Docker Engine, so we need it installed locally.
If you are running Ubuntu 17.04, you can install Docker using the installation script by Docker, by running the following:
$ curl -fsSL get.docker.com -o get-docker.sh$ sudo sh get-docker.sh
To install Docker on macOS High Sierra, we can install it using Homebrew and Cask, by running:
$ brew cask install docker
For Windows 10 Professional users, you can use Chocolatey and run:
$ choco install docker-for-windows
Once you have installed Docker for macOS and Docker for Windows, you will need to open the Docker application to complete ...