Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. docker service create --name registry \
  4. -e "REGISTRY_STORAGE=s3" \
  5. -e "REGISTRY_STORAGE_S3_REGION=[S3 REGION]" \
  6. -e "REGISTRY_STORAGE_S3_ACCESSKEY=[ACCESS KEY]" \
  7. -e "REGISTRY_STORAGE_S3_SECRETKEY=[SECRET KEY]" \
  8. -e "REGISTRY_STORAGE_S3_BUCKET=[BUCKET NAME]" \
  9. -e "REGISTRY_STORAGE_S3_ENCRYPT=true" \
  10. --publish 5000:5000 \
  11. registry:2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement