Part 1 (on Node1 Server)
Task 15 [Running Containers]
Create a container named logserver with the image rhel8/rsyslog found from the registry registry.domain15.example.com:5000
The container should run as the root less user shangril
a. use redhat as password [sudo user]
Configure the container with systemd services as the shangrila user using the service name, ''container-logserver'' so that it can be persistent across reboot.
Use admin as the username and admin123 as the credentials for the image registry.
Suggested Answer: A
Get Premium EX200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
TO
Tomas
1 year ago
Nice, but why use systemd for a container? Seems a bit overkill.
ME
Merlyn
1 year ago
I think you need to check the permissions for the shangrila user.
KR
Kristal
1 year ago
Wait, is it really that easy to make it persistent across reboots?
WE
Wei
1 year ago
Totally agree, this setup is super straightforward!
GA
Garry
1 year ago
Just pulled the rhel8/rsyslog image from the registry!
IN
In
1 year ago
I remember generating the systemd service file, but I'm a bit confused about the `--new` flag and its purpose in this context.
HO
Holley
1 year ago
I feel like I might have missed a step in configuring the systemd service for persistence. Did we have to specify any additional options?
KE
Keneth
1 year ago
I practiced something similar last week, but I can't recall if I used `podman` or `docker` for the container creation.
DA
Dallas
1 year ago
I think I remember needing to log in to the registry first, but I'm not entirely sure about the exact command syntax.
QU
Quinn
1 year ago
Okay, I've got this. SSH is port 22 and HTTPS is port 443. Those are the two ports I need to include in the ACLs.
RE
Reiko
1 year ago
Postponing the meeting to analyze the impact and discuss priorities with the stakeholders is probably the safest option, even if it's not the most convenient.