Easily spin up a Docker Ubuntu container
Container engines have existed for over 20 years, but Docker popularized the technology and made it available for more data center use cases. Because it relies on Linux kernel features, the Docker containerization engine runs on Windows, MacOS and Linux.
With the power of containers and a containerization engine, you can take an application, store it in the container and deploy the program across your infrastructure as much as you'd like. Docker compatibility across OSes creates opportunity for organizations that decide to implement containerization across their entire network.
Originally containerization only worked on Linux, which meant if a company had a Windows application, they couldn't take full advantage of containerization's benefits. Now, you can use Docker Ubuntu containers to run Docker and containerized applications on Windows 10 and Windows servers.
In this video, you will prepare an Ubuntu long-term support VM to run as a Docker host. This host containerizes the Docker engine that lets you run containers, create images and access containers from the VM. After the Docker server goes online, the tutorial demonstrates how to pull a Nginx Docker image from Docker Hub to create a container based off of the Nginx image.
After you pull down the Nginx Docker image, you can create a Docker Ubuntu container from the Docker image and confirm that the container is up and running. Following the confirmation of the Nginx container being created, started and online, you'll run the docker exec command to access the container; the action is similar to remotely connecting a server.
Once you run docker exec, you'll learn how to check that the Nginx service is up and running with service nginx status. If the Nginx service is not up, you'll see how to run service nginx start to start the Nginx web server on the container.