Guest User

Untitled

a guest
Apr 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/bash
  2. #Create a directory to store the data in
  3. mkdir nexus-data
  4. chown -R 200:200 nexus-data
  5.  
  6. #Launch docker with a volume
  7. docker run -d -p 28081:28081 --name nexus -v $(pwd)nexus-data:/sonatype-work sonatype/nexus3
  8.  
  9. #show log
  10. docker logs -f nexus3
Add Comment
Please, Sign In to add comment