There are many options to do a full security scan in your docker images, the most popular option is Anchore community edition.
Anchore will use the main public vulnerabilities databases available, including CVE.
To install Anchore is very ease (source: https://engine.anchore.io/docs/quickstart/), follow the steps: