Public-works developers containerize a Flask helper that queries Intersight inventory for a city NOC. Which practice correctly utilizes Docker for that process?
Select an answer to reveal the explanation.
Short Explanation
Docker is useful when the app actually lives in the container and listens where the image says—like a kiosk that only works when plugged into its labeled outlet. A host systemd service with Docker nearby is theater, not utilization.
Full Explanation
Containerizing an application means the process runs inside the container and binds to a known port documented by the image (EXPOSE and runtime mapping). Leaving the workload on host systemd while Docker idles does not utilize the container runtime. Clear in-container port binding also keeps orchestration and health checks aligned with the documented contract.