Prisma Cloud Compute: How to Deploy Sonatype Nexus3 registry with Prisma Cloud Compute

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.
  1. Create EC2 instance with the latest Linux version Here
  2. To install the latest version of Docker Here
  3. Go Here  to copy docker pull command.
  4. To run Bind the exposed port 8081 to the host use:

 

docker run -d -p 8081:8081 –name nexus sonatype/nexus3

 

  1. Run the following command to test connection to the Nexus registry
    curl http://<Your-Host-IP-Address>:8081
 
  1. To access the Nexus registry platform go to your browser and type
    http://<Your-Host-IP-Address>:8081
  2. 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)
  3. You will be prompted to change the temp password.
  4. 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

User-added image
Add > Version > Select Sonatype Nexus
User-added image
 
Registry > Specify registry address
 User-added image

 
Repository > Specify Repository name if applicable
Click > Add > save
User-added image

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000004MssCAE&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language