Last active
August 29, 2015 14:10
-
-
Save chrislewis/f24f6725856f737af562 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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