{"id":3876,"date":"2024-05-24T10:47:18","date_gmt":"2024-05-24T09:47:18","guid":{"rendered":"https:\/\/www.easydeploy.io\/blog\/?p=3876"},"modified":"2024-05-24T10:47:18","modified_gmt":"2024-05-24T09:47:18","slug":"how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr","status":"publish","type":"post","link":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/","title":{"rendered":"How to setup vulnerability scanning for Docker images in AWS ECR"},"content":{"rendered":"<h1>INTRODUCTION:<\/h1>\n<p>In this article we are going to <strong>setup vulnerability scanning for Docker images in AWS ECR.<\/strong><\/p>\n<h2>WHAT IS DOCKER:<\/h2>\n<p><span><strong>Docker<\/strong> is an open-source platform that automates the deployment of applications inside software containers. <strong>Containers<\/strong> are lightweight, portable, and self-sufficient units that encapsulate all the dependencies required to run a software application, including the code, runtime, system tools, libraries, and settings. <strong>Docker<\/strong> uses containerization technology to package applications into containers, enabling developers to build, ship, and run applications consistently across different environments, such as development, testing, and production.<\/span><\/p>\n<h2>WHAT IS ECR:<\/h2>\n<p><span><strong>ECR<\/strong>\u00a0is a fully managed Docker container registry service provided by\u00a0<strong>Amazon Web Services<\/strong>. It allows you to store, manage, and deploy Docker container images securely.\u00a0<strong>ECR<\/strong>\u00a0is tightly integrated with other AWS services, particularly\u00a0<strong>Amazon ECS<\/strong>\u00a0and\u00a0<strong>Amazon Elastic Kubernetes Service<\/strong>, making it easy to deploy containerized applications on AWS infrastructure.<\/span><\/p>\n<p><span>If you would like to follow a video tutorial please use our YouTube video.<\/span><\/p>\n<div class=\"wpex-responsive-embed\"><iframe loading=\"lazy\" title=\"Hands on: How to enable vulnerability scanning for docker images in AWS ECR\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/OldVT81iW8o?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<p>&nbsp;<\/p>\n<h1><span id=\"PREREQUISITES\">PREREQUISITES:<\/span><\/h1>\n<ul>\n<li>AWS account.<\/li>\n<li>AWS account with ECR Full access.<\/li>\n<li>Basic knowledge about ECR and Docker.<\/li>\n<\/ul>\n<h1><span id=\"INTENDED_AUDIENCE\">INTENDED AUDIENCE:<\/span><\/h1>\n<ul>\n<li>Engineer<\/li>\n<\/ul>\n<h1>AWS ECR:<\/h1>\n<p>Go inside AWS console &gt; go inside ECR &gt; Click on create repository.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-115914.png\" alt=\"Creating Repository\" width=\"1918\" height=\"935\" class=\"alignnone wp-image-3888 size-full\" title=\"Creating Repository\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-115914.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-115914-300x146.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-115914-1024x499.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-115914-768x374.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-115914-1536x749.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>select private or public based on your requirements &gt; Give a name to the ECR repository.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-120325.png\" alt=\"Creating Repository\" width=\"1918\" height=\"856\" class=\"alignnone wp-image-3889 size-full\" title=\"Creating Repository\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-120325.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-120325-300x134.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-120325-1024x457.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-120325-768x343.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-120325-1536x686.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Enable scan on push, this will scan the vulnerability when we push image to the repository &gt; click create repository.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122418.png\" alt=\"Creating Repository\" width=\"1918\" height=\"938\" class=\"alignnone wp-image-3891 size-full\" title=\"Creating Repository\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122418.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122418-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122418-1024x501.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122418-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122418-1536x751.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Go to IAM &gt; go inside users &gt; click create user.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122653.png\" alt=\"Adding IAM user\" width=\"1945\" height=\"938\" class=\"alignnone wp-image-3892 size-full\" title=\"Adding IAM user\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122653.png 1945w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122653-300x145.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122653-1024x494.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122653-768x370.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122653-1536x741.png 1536w\" sizes=\"(max-width: 1945px) 100vw, 1945px\" \/><\/p>\n<p>Give user name &gt; click Next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122906.png\" alt=\"Adding IAM user\" width=\"1918\" height=\"933\" class=\"alignnone wp-image-3893 size-full\" title=\"Adding IAM user\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122906.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122906-300x146.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122906-1024x498.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122906-768x374.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-122906-1536x747.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Click on attach policies &gt; attach the ECR Full access &gt; click next &gt; create user.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123115.png\" alt=\"Selecting policy\" width=\"1918\" height=\"938\" class=\"alignnone wp-image-3894 size-full\" title=\"Selecting policy\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123115.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123115-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123115-1024x501.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123115-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123115-1536x751.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Go inside the User we created &gt; go inside security credentials.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123436.png\" alt=\"Security credentials\" width=\"1916\" height=\"936\" class=\"alignnone wp-image-3895 size-full\" title=\"Security credentials\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123436.png 1916w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123436-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123436-1024x500.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123436-768x375.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123436-1536x750.png 1536w\" sizes=\"(max-width: 1916px) 100vw, 1916px\" \/><\/p>\n<p>scroll down and click on create acess key.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123656.png\" alt=\"Creating access key\" width=\"1918\" height=\"942\" class=\"alignnone wp-image-3896 size-full\" title=\"Creating access key\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123656.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123656-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123656-1024x503.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123656-768x377.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123656-1536x754.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>choose the use case based on your requirements &gt; next &gt; create access key.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123827.png\" alt=\"Creating access key\" width=\"1918\" height=\"937\" class=\"alignnone wp-image-3898 size-full\" title=\"Creating access key\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123827.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123827-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123827-1024x500.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123827-768x375.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-123827-1536x750.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>These are the access and secret access key. you can download the file if needed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124123.png\" alt=\"Creating access key\" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3899 size-full\" title=\"Creating access key\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124123.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124123-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124123-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124123-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124123-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Go inside ec2 instance. I already created an instance. If you dont have one you can create new one. Go inside the instance.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124416.png\" alt=\"EC2 Instance\" width=\"1958\" height=\"938\" class=\"alignnone wp-image-3900 size-full\" title=\"EC2 Instance\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124416.png 1958w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124416-300x144.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124416-1024x491.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124416-768x368.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124416-1536x736.png 1536w\" sizes=\"(max-width: 1958px) 100vw, 1958px\" \/><\/p>\n<p>Click on connect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124715.png\" alt=\"Connecting Ec2 instance\" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3901 size-full\" title=\"Connecting Ec2 instance\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124715.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124715-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124715-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124715-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124715-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Now install Docker by using the following command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124918.png\" alt=\"Installing docker\" width=\"1918\" height=\"936\" class=\"alignnone wp-image-3902 size-full\" title=\"Installing docker\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124918.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124918-300x146.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124918-1024x500.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124918-768x375.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-124918-1536x750.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>start the Docker.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125116.png\" alt=\"Starting Docker\" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3903 size-full\" title=\"Starting Docker\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125116.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125116-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125116-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125116-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125116-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Create an Folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125354.png\" alt=\"Creating Folder\" width=\"1918\" height=\"941\" class=\"alignnone wp-image-3904 size-full\" title=\"Creating Folder\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125354.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125354-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125354-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125354-768x377.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125354-1536x754.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>pass an content to file and create an file. next create an Docker file. go inside the docker file by using VI editor.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125949.png\" alt=\"Creating File\" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3906 size-full\" title=\"Creating File\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125949.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125949-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125949-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125949-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-125949-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>copy the file we created to the default path of nginx &gt; save the file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130356.png\" alt=\"Edit Docker file\" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3907 size-full\" title=\"Edit Docker file\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130356.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130356-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130356-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130356-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130356-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Next we should Configure AWS credentials. Give the access key, secret key and region.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130852.png\" alt=\"AWS Configure\" width=\"1917\" height=\"943\" class=\"alignnone wp-image-3908 size-full\" title=\"AWS Configure\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130852.png 1917w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130852-300x148.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130852-1024x504.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130852-768x378.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-130852-1536x756.png 1536w\" sizes=\"(max-width: 1917px) 100vw, 1917px\" \/><\/p>\n<p>Go inside AWS console &gt; go inside ECR &gt; open the repository we created &gt; click on view push commands.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131047.png\" alt=\"ECR\" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3909 size-full\" title=\"ECR\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131047.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131047-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131047-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131047-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131047-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>Copy the First link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131252.png\" alt=\"Copy the Logging command\" width=\"1918\" height=\"927\" class=\"alignnone wp-image-3910 size-full\" title=\"Copy the Logging command\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131252.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131252-300x145.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131252-1024x495.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131252-768x371.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131252-1536x742.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>paste the link in instance command line.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131442.png\" alt=\"Paste in command line\" width=\"1918\" height=\"938\" class=\"alignnone wp-image-3911 size-full\" title=\"Paste in command line\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131442.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131442-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131442-1024x501.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131442-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131442-1536x751.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<div class=\"wpex-responsive-embed wpex-show\">Successfully logged in.<\/div>\n<div>Copy the Docker build command.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131624.png\" alt=\"Docker command\" width=\"1918\" height=\"992\" class=\"alignnone wp-image-3912 size-full\" title=\"Docker command\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131624.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131624-300x155.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131624-1024x530.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131624-768x397.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131624-1536x794.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/div>\n<div>paste the link command line and Enter.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131749.png\" alt=\"paste Docker command\" width=\"1918\" height=\"933\" class=\"alignnone wp-image-3913 size-full\" title=\"paste Docker command\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131749.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131749-300x146.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131749-1024x498.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131749-768x374.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131749-1536x747.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/div>\n<div>copy the tag command, this command will tag the image to the repository.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131922.png\" alt=\"Copy the tag command \" width=\"1918\" height=\"991\" class=\"alignnone wp-image-3914 size-full\" title=\"Copy the tag command \" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131922.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131922-300x155.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131922-1024x529.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131922-768x397.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-131922-1536x794.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/div>\n<div>paste the command in command line and click enter.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132048.png\" alt=\"paste tag command \" width=\"1918\" height=\"937\" class=\"alignnone wp-image-3915 size-full\" title=\"paste tag command \" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132048.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132048-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132048-1024x500.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132048-768x375.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132048-1536x750.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/div>\n<div>Copy the push command, this command will push the image to the repository.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132242.png\" alt=\"Copy the push command \" width=\"1917\" height=\"942\" class=\"alignnone wp-image-3916 size-full\" title=\"Copy the push command \" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132242.png 1917w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132242-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132242-1024x503.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132242-768x377.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132242-1536x755.png 1536w\" sizes=\"(max-width: 1917px) 100vw, 1917px\" \/><\/div>\n<div>paste the push command line and click enter.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132427.png\" alt=\"Paste push command \" width=\"1918\" height=\"940\" class=\"alignnone wp-image-3918 size-full\" title=\"Paste push command \" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132427.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132427-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132427-1024x502.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132427-768x376.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-132427-1536x753.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/div>\n<div>you can see that the image is pushed to the repository.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143033.png\" alt=\"ECR\" width=\"1906\" height=\"917\" class=\"alignnone wp-image-3920 size-full\" title=\"ECR\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143033.png 1906w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143033-300x144.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143033-1024x493.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143033-768x369.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143033-1536x739.png 1536w\" sizes=\"(max-width: 1906px) 100vw, 1906px\" \/><\/div>\n<div>Tick the check box &gt; click on details.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143822.png\" alt=\"ECR Details\" width=\"1918\" height=\"942\" class=\"alignnone wp-image-3921 size-full\" title=\"ECR Details\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143822.png 1918w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143822-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143822-1024x503.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143822-768x377.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-143822-1536x754.png 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-144022.png\" alt=\"Scanning vulnerabilities\" width=\"1919\" height=\"938\" class=\"alignnone wp-image-3923 size-full\" title=\"Scanning vulnerabilities\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-144022.png 1919w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-144022-300x147.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-144022-1024x501.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-144022-768x375.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-144022-1536x751.png 1536w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/div>\n<div>you can see that it scanned the vulnerability.<\/div>\n<div><\/div>\n<h1><\/h1>\n<h1>DO YOU HAVE ANY QUESTIONS?<\/h1>\n<p>Should you required help in performing the above steps, feel free to contact at our email id <a href=\"mailto:contact@easydeploy.io\">contact@easydeploy.io<\/a><\/p>\n<p>Website &#8211;\u00a0<a href=\"http:\/\/www.easydeploy.io\/contact-us\">www.easydeploy.io\/contact-us<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>INTRODUCTION: In this article we are going to setup vulnerability scanning for Docker images in AWS ECR. WHAT IS DOCKER: Docker is an open-source platform that automates the deployment of applications inside software containers. Containers are lightweight, portable, and self-sufficient units that encapsulate all the dependencies required to run a software application, including the code, [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":3883,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,441,128,3,26,1],"tags":[469,24,470],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to setup vulnerability scanning for Docker images in AWS ECR | easydeploy.io<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup vulnerability scanning for Docker images in AWS ECR | easydeploy.io\" \/>\n<meta property=\"og:description\" content=\"INTRODUCTION: In this article we are going to setup vulnerability scanning for Docker images in AWS ECR. WHAT IS DOCKER: Docker is an open-source platform that automates the deployment of applications inside software containers. Containers are lightweight, portable, and self-sufficient units that encapsulate all the dependencies required to run a software application, including the code, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\" \/>\n<meta property=\"og:site_name\" content=\"easydeploy.io\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-24T09:47:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1919\" \/>\n\t<meta property=\"og:image:height\" content=\"1079\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Yuvasakthi S\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yuvasakthi S\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\"},\"author\":{\"name\":\"Yuvasakthi S\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/eea1a4016a2ed0c49ef592d1d4604d4c\"},\"headline\":\"How to setup vulnerability scanning for Docker images in AWS ECR\",\"datePublished\":\"2024-05-24T09:47:18+00:00\",\"dateModified\":\"2024-05-24T09:47:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\"},\"wordCount\":571,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png\",\"keywords\":[\"AWS ECR\",\"Docker\",\"Vulnerability scanning\"],\"articleSection\":[\"Amazon Web Services\",\"Client use cases\",\"Cloud Computing\",\"Cloud Hosting Services\",\"DevOps\",\"News\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\",\"name\":\"How to setup vulnerability scanning for Docker images in AWS ECR | easydeploy.io\",\"isPartOf\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png\",\"datePublished\":\"2024-05-24T09:47:18+00:00\",\"dateModified\":\"2024-05-24T09:47:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png\",\"contentUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png\",\"width\":1919,\"height\":1079},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.easydeploy.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup vulnerability scanning for Docker images in AWS ECR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#website\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/\",\"name\":\"easydeploy.io\",\"description\":\"A Cloud Architect Company\",\"publisher\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.easydeploy.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\",\"name\":\"EasyDeploy Technologies Pvt Ltd\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png\",\"contentUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png\",\"width\":536,\"height\":100,\"caption\":\"EasyDeploy Technologies Pvt Ltd\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/eea1a4016a2ed0c49ef592d1d4604d4c\",\"name\":\"Yuvasakthi S\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7690a4d989dc75b0356b63c7183932e3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7690a4d989dc75b0356b63c7183932e3?s=96&d=mm&r=g\",\"caption\":\"Yuvasakthi S\"},\"sameAs\":[\"https:\/\/www.easydeploy.io\/\"],\"url\":\"https:\/\/www.easydeploy.io\/blog\/author\/yuvasakthi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup vulnerability scanning for Docker images in AWS ECR | easydeploy.io","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/","og_locale":"en_GB","og_type":"article","og_title":"How to setup vulnerability scanning for Docker images in AWS ECR | easydeploy.io","og_description":"INTRODUCTION: In this article we are going to setup vulnerability scanning for Docker images in AWS ECR. WHAT IS DOCKER: Docker is an open-source platform that automates the deployment of applications inside software containers. Containers are lightweight, portable, and self-sufficient units that encapsulate all the dependencies required to run a software application, including the code, [&hellip;]","og_url":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/","og_site_name":"easydeploy.io","article_published_time":"2024-05-24T09:47:18+00:00","og_image":[{"width":1919,"height":1079,"url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png","type":"image\/png"}],"author":"Yuvasakthi S","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Yuvasakthi S","Estimated reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#article","isPartOf":{"@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/"},"author":{"name":"Yuvasakthi S","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/eea1a4016a2ed0c49ef592d1d4604d4c"},"headline":"How to setup vulnerability scanning for Docker images in AWS ECR","datePublished":"2024-05-24T09:47:18+00:00","dateModified":"2024-05-24T09:47:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/"},"wordCount":571,"commentCount":0,"publisher":{"@id":"https:\/\/www.easydeploy.io\/blog\/#organization"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage"},"thumbnailUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png","keywords":["AWS ECR","Docker","Vulnerability scanning"],"articleSection":["Amazon Web Services","Client use cases","Cloud Computing","Cloud Hosting Services","DevOps","News"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/","url":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/","name":"How to setup vulnerability scanning for Docker images in AWS ECR | easydeploy.io","isPartOf":{"@id":"https:\/\/www.easydeploy.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage"},"thumbnailUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png","datePublished":"2024-05-24T09:47:18+00:00","dateModified":"2024-05-24T09:47:18+00:00","breadcrumb":{"@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#primaryimage","url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png","contentUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-24-114627.png","width":1919,"height":1079},{"@type":"BreadcrumbList","@id":"https:\/\/www.easydeploy.io\/blog\/how-to-setup-vulnerability-scanning-for-docker-images-in-aws-ecr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.easydeploy.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to setup vulnerability scanning for Docker images in AWS ECR"}]},{"@type":"WebSite","@id":"https:\/\/www.easydeploy.io\/blog\/#website","url":"https:\/\/www.easydeploy.io\/blog\/","name":"easydeploy.io","description":"A Cloud Architect Company","publisher":{"@id":"https:\/\/www.easydeploy.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.easydeploy.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.easydeploy.io\/blog\/#organization","name":"EasyDeploy Technologies Pvt Ltd","url":"https:\/\/www.easydeploy.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png","contentUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png","width":536,"height":100,"caption":"EasyDeploy Technologies Pvt Ltd"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/eea1a4016a2ed0c49ef592d1d4604d4c","name":"Yuvasakthi S","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7690a4d989dc75b0356b63c7183932e3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7690a4d989dc75b0356b63c7183932e3?s=96&d=mm&r=g","caption":"Yuvasakthi S"},"sameAs":["https:\/\/www.easydeploy.io\/"],"url":"https:\/\/www.easydeploy.io\/blog\/author\/yuvasakthi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/3876"}],"collection":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/comments?post=3876"}],"version-history":[{"count":14,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/3876\/revisions"}],"predecessor-version":[{"id":3929,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/3876\/revisions\/3929"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/media\/3883"}],"wp:attachment":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/media?parent=3876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/categories?post=3876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/tags?post=3876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}