heading.append(addParagraph("David Davis - LinkedIn Learning - November 2018"));
heading.append(addParagraph("INTRODUCTION"));;
main.append(addHeader("WHAT IS DOCKER?"));
main.append(addParagraph("Docker is built on top of a number of open-source projects including"));
main.append(addSyntax("Buildkit"));
main.append(addSyntax("Compose"));
main.append(addSyntax("containerd - the container daemon"));
main.append(addSyntax("runC"));
main.append(addSyntax("Datakit"));
main.append(addSyntax("the Docker CLI"));
main.append(addSyntax("Docker Distribution"));
main.append(addSyntax("Hyperkit"));
main.append(addSyntax("Infrakit"));
main.append(addSyntax("Libnetwork"));
main.append(addSyntax("the Moby Project"));
main.append(addSyntax("Notary"));
main.append(addSyntax("SwarmKit"));
main.append(addParagraph("Docker EE (Enterprise Edition) is licenced and fully supported version of Docker."));
main.append(addParagraph("Docker CE (Community Edition) is the free version. This is also referred as Docker Desktop."));
main.append(addParagraph("Docker Engine powers both editions. It is based on several of those open - source projects and it can be extended with third-party plugins."));
main.append(addParagraph("Containers are managed via the Docker CHI and the Docker API."));
main.append(addParagraph("Docker Hub - this is a kind of app store for Docker containers and like the apps in an app store, some of these are free and some are for sale."));
main.append(addHeader("DOCKER FOR WINDOWS"));
main.append(addParagraph("This is designed to be easy to use and often, you will use it with containers you download from the Docker hub and this includes containers for "));
main.append(addSyntax("Web Servers - including apache and nginx."));
main.append(addSyntax("Node"));
main.append(addParagraph("You can download a container via the Docker CLI using a pull command and that command is provided in the hub. For example, you can download a node container with the command"));
main.append(addSyntax("docker pull node"));
main.append(addParagraph("You can run that from a Windows command line which can be a command prompt, power shell or WSL."));
main.append(addParagraph("As an example, type this command into your command line"));
main.append(addSyntax("docker pull nginx"));
main.append(addParagraph("In Docker Desktop click on images and you will see your Docker container there under the name of nginx. You can click the play button to start the container and then go back to the command line and type the command"));
main.append(addSyntax("docker. ps"));
main.append(addParagraph("which will list your running containers and you should see your nginx container listed there. You should then be able to see the default web page for nginx with the URL"));
main.append(addSyntax("localhost:32769"));
main.append(addParagraph("You can also run a container from the command Line with a command like"));