Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Create a directory to store the data in
- mkdir nexus-data
- chown -R 200:200 nexus-data
- #Launch docker with a volume
- docker run -d -p 28081:28081 --name nexus -v $(pwd)nexus-data:/sonatype-work sonatype/nexus3
- #show log
- docker logs -f nexus3
Add Comment
Please, Sign In to add comment