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
Refresh firewall settings Correct Ans-firewall-cmd --reload
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/