PDF Version Available
This document is also available in PDF format: containers.pdf
The PDF version includes bookmarks for easy navigation and is optimized for printing.
Accessibility Notice
This document is also available in HTML format at:
Link: https://aholdengouveia.name/LinuxAdmin/labexcercises/containers.html
The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.
Ticket
Ticket: ACME-8031
Requested by: IT Manager
Systems: One of your servers
Background
Acme Corp is considering containers for future deployments, and your manager wants a proof of concept and a recommendation. You may do this on one of the two servers you set up in the Server Setup lab.
Learning Outcomes
By the end of this lab, you will be able to:
- Install and configure Docker and Kubernetes
- Deploy a basic web server in a container
- Evaluate the pros and cons of containers, and recommend whether a business should use them
Requirements
- Install Docker and Kubernetes on your server. You can use MicroK8s as your Kubernetes installation method.
- Go through the minikube tutorial.
- Get a basic web server working using Docker or Kubernetes, your choice. You can use the Apache (httpd) Docker image, or if you would prefer, you can substitute another server such as Home Assistant or ZoneMinder. Take a screenshot showing your web server running and its page loading.
- Write an executive summary on what containers are, the pros and cons of containers, and why you think Acme Corp should or shouldn't consider using them going forward.
- Find at least one resource for containers that you found helpful and that I haven't already shared anywhere.
Acceptance Criteria
- If you had to look anything up to figure out a command, cite your source with a link to the reference.
- The install process is documented with screenshots, explanations of what you're doing, and any troubleshooting that was needed.
- The web server is proven to work with a screenshot.
- The executive summary is less than 1 page.
- Your resource is new, not something I've already shared.
- Every terminal screenshot shows your prompt with your username and hostname, and either the output of date or a note beside the terminal with your name and the term. Hostnames must match your server inventory from the Server Setup lab.
Deliverables
Audience: someone technically inclined but unfamiliar with virtualization. Include screenshots to walk them through the install process.
- A document on how to install Docker and Kubernetes on your server.
- A short document describing how the minikube tutorial went, what gave you trouble (if anything), and how you fixed it. Include screenshots showing the steps you did and minikube up and running.
- A screenshot of your working web server, with a short explanation of how you set it up.
- Your executive summary.
- A link to your container resource.
Resources
References, a video, a PowerPoint and some notes are available at my website Link: https://www.aholdengouveia.name/LinuxAdmin/containers.html
MicroK8s installation instructions Link: https://microk8s.io/
The minikube tutorial Link: https://kubernetes.io/docs/tutorials/hello-minikube/
The Apache (httpd) Docker image Link: https://hub.docker.com/_/httpd
My instructions and sample yaml files Link: https://www.aholdengouveia.name/SmartHome/Virtualizationsetup.html