Setup Nexus on EC2 instance:
Step-1: Install Docker
sudo apt update
sudo apt install docker.io
Step-2: Pull the nexus image from Docker:
sudo docker pull sonatype/nexus3
Step-3: Run the Nexus Container
sudo docker run -d -p 8081:8081 -p 8083:8083 --name nexus sonatype/nexus3
...
siddhantgupta.hashnode.dev2 min read