Route all traffic from the IP address or network/netmask to the specified zone Correct Ans-
firewall-cmd --permanent --zone=internal --add-source=192.168.0.0/24
Add port label so SELinux doesn't block service Correct Ans-semanage port -a -t port_label -
p tcp|udp PORTNUMBER
Create a DNS-enabled network in your pod. Correct Ans-podman network create --gateway
<address> --subnet <address> <network name>
Display information about a specific network in a pod Correct Ans-podman network inspect
<network>
Set environment variables in a podman run command Correct Ans-podman run -d --name
<container> -e <VARIABLE=>
Install packages in a container Correct Ans-podman exec -it <container> dnf install -y
<package>
, Create and connect network backend for containers Correct Ans-podman network create
backend
podman network connect backend <container 1>
podman network connect backend <container 2>
Run command inside container namespace Correct Ans-podman unshare <command>
Command to configure the systemd user service to persist after the last user session of the
configured service closes Correct Ans-loginctl enable-linger
Log into the container registry Correct Ans-podman login registry.lab.example.com
View information about an image Correct Ans-skope inspect
docker://registry.lab.example.com/rhelversion/image
Map port in the container to port on the host Correct Ans-podman run -d --name <name> -p
<host port>:<containerport>
Set user namespace UID and GID as the owner of a directory Correct Ans-podman unshare
chown UID:GID /path/of/directory
Systemd file directory for container config Correct Ans-/home/.config/systemd/user/
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheeGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.