Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Zero to Dockerized Nexus on AWS.
# We use the stock nexus image (https://registry.hub.docker.com/u/sonatype/nexus/)
# as well as the stock Linux AMI (as of this writing https://aws.amazon.com/amazon-linux-ami/2014.09-release-notes/).
# We also assume you have configured an AWS identity, key pair, a security
# group that allows inbound TCP/8081, and that you have associated these with
# the instance.
sudo yum install docker
sudo service docker start
sudo mkdir /var/sonatype-work
sudo chmod 777 /var/sonatype-work
sudo docker run -d -p 8081:8081 -v /var/sonatype-work:/sonatype-work --name nexus sonatype/nexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.