Prisma Cloud Compute: How to Deploy Sonatype Nexus3 registry with Prisma Cloud Compute
11860
Created On 01/19/22 17:58 PM - Last Modified 03/25/22 20:29 PM
Objective
This article shows the steps on how to deploy a self-hosted Sontatype Nexus3 with Prisma Cloud compute.
Environment
- SaaS
- Self Hosted 19.11 or later
Procedure
Deploying Sonatype Nexus3 registry with Prisma cloud-compute.
- Create EC2 instance with the latest Linux version Here
- To install the latest version of Docker Here
- Go Here to copy docker pull command.
- To run Bind the exposed port 8081 to the host use:
docker run -d -p 8081:8081 –name nexus sonatype/nexus3
- Run the following command to test connection to the Nexus registry
curl http://<Your-Host-IP-Address>:8081
- To access the Nexus registry platform go to your browser and type
http://<Your-Host-IP-Address>:8081 - To acess the temp password exec to the container by typing the following command
docker exec -it 1d4t5bfa3ffcfe cat nexus-data/admin.password(output of the above command will be the temp password) - You will be prompted to change the temp password.
- Pushing images to the nexus registry by following the guidelines documented here
In the Prisma Cloud Compute Console, go to
Defend > Vulnerabilities > Images> Registry Settings> Add
Add > Version > Select Sonatype Nexus
Registry > Specify registry address
Repository > Specify Repository name if applicable Click > Add > save