A security scan finds a critical CVE in a base image. What is the recommended remediation workflow in a Docker-based CI/CD pipeline?
-
A
Add the vulnerable package to a .dockerignore exclusion list
-
B
Update the base image tag in the Dockerfile, rebuild, re-scan, and redeploy
-
C
Manually patch the running container and commit it as a new image
-
D
Set the HEALTHCHECK to monitor for exploitation attempts