Created
October 26, 2016 06:34
-
-
Save SlyDen/589f76cc6d5f66eae8403afc2e9437d1 to your computer and use it in GitHub Desktop.
Nexus container in swarm
This file contains hidden or 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
docker volume create nexus-data | |
docker service create -p 8081:8081 --name nexus --mount type=volume,src=nexus-data,dst=/nexus-data sonatype/docker-nexus3 | |
docker service update --env-add JAVA_MAX_MEM=768m nexus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment