Docker Basics
We talked enough about containers and Docker, let’s move onto an example so the whole idea becomes clearer for those unfamiliar with containerization technologies.
NOTE: Our overview of Docker will be minimal because it is far removed from the scope of this tutorial, which is not to teach you docker but to teach how to deploy OpenCV applications to scale. We will explore basic concepts and refer you to the Docker documentation available at https://docs.docker.com/ for anything else you need to know.
First let’s see how to install the Docker engine. The official page on the docker website where you can obtain downloads is at https://docs.docker.com/engine/install/
Docker engine used to be a CLI-only tool that lacked a bit in user friendliness. Nowadays what you download from Docker is a tool called Docker-Desktop which also includes the CLI client that Docker old-timers and CLI aficionados are used to (and probably prefer to use).
Throughout the chapter we will...