Tryhackme: Virtualization and Containers

Daniel Schwarzentraub
3 min readSep 28, 2023

--

Task 1: Introduction

Task 2: What is Virtualization

Is scalability a primary benefit of virtualization? (Y/N)

Answer: Y

What is the operating system of a virtual machine often referred to as?

Answer: Guest OS

Task 3: Hypervisors

What type of hypervisor is VirtualBox considered?

Answer: Type 2

What are type 1 hypervisors also known as?

Answer: Bare Metal Hypervisor

Task 4: Containers

Are containers completely abstracted from the host operating system? (Y/N)

Answer: N

Task 5: Docker

What flag is obtained at MACHINE_IP:5000 after running the container?

We will start off with docker image to see what the docker container name is

Answer: THM{this_is_running_in_docker}

Task 6: Kubernetes

Before proceeding, ensure all clusters are started by running minikube start.

How many pods are running on the provided cluster?

Answer: 1

How many system pods are running on the provided cluster?

Answer: 7

What is the pod name on the provided cluster?

Answer: hello-tryhackme-f79f667fd-lh87b

What is the deployment name on the provided cluster?

Answer: hello-tryhackme

What port is exposed by the service in question 5?

Answer: 8080

How many replica sets are deployed on the provided cluster?

Answer: 1

What is the replica set name on the provided cluster?

Answer: hello-tryhackme-f79f667fd

What command would be used to delete the deployment from question 5?

Answer: kubectl delete deployment hello-tryhackme

Task 7: Conclusion

--

--