Which command runs a container named 'webserver' from the nginx image in detached mode?
Container Runtime
Question · Easy
Which command lists all running and stopped Podman containers?
What does the podman inspect command return by default?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
Which Dockerfile instruction sets the default command that runs when a container starts?
Image Management
Which command builds an image tagged 'myapp:1.0' from a Containerfile in the current directory?
Which Dockerfile instruction copies files from the build context into the image filesystem?
How do you bind-mount host directory /data/app to /app inside a container?
Volumes
What is the primary security benefit of rootless Podman containers?
Rootless Containers
Which command creates a Podman pod named 'mypod' that publishes host port 8080 to container port 80?
Pods
Which tool copies images between container registries without requiring a running daemon?
Registries
A container needs a named volume 'dbdata' mounted at /var/lib/mysql. Which podman run syntax is correct?
Question · Medium
Which Dockerfile instruction sets environment variables available at both build time and container runtime?
Which file controls the registry search order when an image name has no registry prefix?
Which Dockerfile instruction declares a build-time variable overridable with --build-arg?
Which command generates a systemd unit file for an existing container named 'myapp'?
Systemd Integration
What is a Quadlet in the context of Podman and systemd?
Where should a rootless user place Quadlet .container unit files?
Which command shows only the image IDs of all locally stored Podman images?
Which podman run flag maps host port 8080 to container port 80?
A Containerfile contains 'FROM ubi8 AS builder'. What does 'AS builder' enable?
Which command removes all stopped containers, unused images, and build cache in one operation?
Which skopeo command shows a remote image's manifest without downloading it?
What does the ENTRYPOINT instruction do in a Dockerfile?
Which command attaches an interactive terminal to a running container named 'mydb'?
Which command filters the container list to show only containers in pod 'mypod'?
A container must run as UID 1001. Which podman run flag sets this?
Which Dockerfile instruction sets the working directory for subsequent RUN, CMD, ENTRYPOINT, COPY, and ADD instructions?
How do you retag local image 'myapp:latest' as 'registry.example.com/myapp:1.0'?
What does 'podman build --no-cache -t freshapp .' do differently?
How do you start a Quadlet-defined service 'myapp' in a rootless user session?
Which podman run option limits a container to 512 MB of memory?
What is the key difference between a bind mount and a named volume in Podman?
Which command streams the stdout/stderr logs of container 'api' in real time?
What mechanism allows a container's internal UID 0 to map to an unprivileged UID on the host in rootless mode?
Question · Hard
Which skopeo subcommand lists all tags for an image in a remote registry?
Why should 'dnf install -y httpd && dnf clean all' be in a single RUN instruction?
Which command copies a file from a running container named 'app' to /tmp/config.yaml on the host?
What does the EXPOSE instruction in a Dockerfile actually do?
Which file format does Podman's Quadlet use to define a container as a systemd-managed service?
Which Go template expression extracts a container's IP address using podman inspect?
Which buildah workflow correctly builds an image without a Dockerfile?
Which podman run flag places the container in the host's network namespace?
What does 'podman volume create mydata' do?
Which Dockerfile instruction adds metadata labels such as version and maintainer?
What must be done before 'podman push myapp:1.0 registry.example.com/myapp:1.0' to a private registry?
Which podman run flag sets environment variable FOO=bar inside the container?
What does 'podman pod stop mypod' do?
Loading more…