Kubernetes vulnerability scanner integration

Is it possible to run a vulnerability scanner on docker containers while kubernetes is deploying the container and manipulate the deployment based on vulnerabilities found in the container?