Instructions
Fill out the worksheet as you progress through the lab and discussions. Hold your worksheets until the end to turn them in as a final submission packet.
Resources / Important Links
Downloads
The worksheet has been provided below. The document(s) can be transposed to
the desired format so long as the content is preserved. For example, the .txt
could be transposed to a .md
file.
Unit 9 Recording
Discussion Post #1
It’s a slow day in the NOC and you have heard that a new system of container deployments are being used by your developers. Do some reading about containers, docker, and podman.
-
What resources helped you answer this?
-
What did you learn about that you didn’t know before?
-
What seems to be the major benefit of containers?
-
What seems to be some obstacles to container deployment?
Discussion Post #2
Scenario:
You get your first ticket about a problem with containers. One of the engineers is trying to move his container up to the Dev environment shared server. He sends you over this information about the command he’s trying to run.
[developer1@devserver read]$ podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [developer1@devserver read]$ podman images REPOSITORY TAG IMAGE ID CREATED SIZE localhost/read_docker latest 2c0728a1f483 5 days ago 68.2 MB docker.io/library/python 3.13.0-alpine3.19 9edd75ff93ac 3 weeks ago 47.5 MB [developer1@devserver read]$ podman run -dt -p 8080:80/tcp docker.io/library/httpd
You decide to check out the server
[developer1@devserver read] ss -ntulp Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=166693,fd=13)) tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mariadbd",pid=234918,fd=20)) tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=166657,fd=3)) tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=166693,fd=14)) tcp LISTEN 0 4096 *:8080 *:* users:(("node_exporter",pid=662,fd=3))
-
What do you think the problem might be?
- How will you test this?
-
The developer tells you that he’s pulling a local image. Do you find this to be true, or is something else happening in their
run
command?
The discussion posts are done in Discord threads. Click the 'Threads' icon on the top right and search for the discussion post.
Definitions
Container:
Docker:
Podman:
CI/CD:
Dev/Prod Environments (Development/Production Environments):
Dockerfile:
Docker/Podman images:
Repository:
Digging Deeper
-
Find a blog on deployment of some service or application in a container that interests you.
See if you can get the deployment working in the lab.- What worked well?
- What did you have to troubleshoot?
- What documentation can you make to be able to do this faster next time?
-
Run this scenario and play with K3s: https://killercoda.com/k3s/scenario/intro
Reflection Questions
-
What questions do you still have about this week?
-
How can you apply this now in your current role in IT? If you’re not in IT, how can you look to put something like this into your resume or portfolio?