In your JFrog Platform instance at the top right, enable the drop down menu and select Quick Setup.
On the Create Repositories dialog, choose Docker and click Next.
Next, enter workshop for the Repositories Prefix.
Click Create. This will create the following docker repositories:
Next, let’s create another docker repository to represent production images. Click the Add Repositories button and select Local Repository.
Select Docker for the Package Type.
Name this docker repository workshop-docker-prod-local. Click Save & Finish.
Click on the Virtual tab under Repositories.
Click on the workshop-docker virtual repository.
Move the new workshop-docker-prod-local repository under Selected Repositories.
Under Default Deployment Repository, select workshop-docker-prod-local as the default deployment repository. This means that image deployments from virtual repository workshop-docker will actually deploy from the local repository workshop-docker-prod-local.
Click Save & Finish.
Under the Local tab under Repositories, select the workshop-docker-local repository.
Scroll down and check Enable Indexing in Xray. This tells Xray to automatically scan this repository.
Click Save & Finish.
Congratulations! You have set up your Docker repositories. Now let’s configure our security policies for Xray.