Advertisement
Guest User

Untitled

a guest
Apr 5th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. -bash-4.2$ oc new-app -e MONGODB_USER=test,MONGODB_PASSWORD=test,MONGODB_DATABASE=testdb,MONGODB_ADMIN_PASSWORD=testadm,MONGODB_NOPREALLOC=true,MONGODB_SMALLFILES=true --name='mongo324' mongo:3.2.4
  2. --> Found Docker image d383841 (3 weeks old) from Docker Hub for "mongo:3.2.4"
  3.  
  4. * An image stream will be created as "mongo324:3.2.4" that will track this image
  5. * This image will be deployed in deployment config "mongo324"
  6. * Port 27017/tcp will be load balanced by service "mongo324"
  7. * Other containers can access this service through the hostname "mongo324"
  8. * This image declares volumes and will default to use non-persistent, host-local storage.
  9. You can add persistent volumes later by running 'volume dc/mongo324 --add ...'
  10. * WARNING: Image "mongo" runs as the 'root' user which may not be permitted by your cluster administrator
  11.  
  12. --> Creating resources with label app=mongo324 ...
  13. imagestream "mongo324" created
  14. deploymentconfig "mongo324" created
  15. service "mongo324" created
  16. --> Success
  17. Run 'oc status' to view your app.
  18. -bash-4.2$ oc describe is mongo324
  19. Name: mongo324
  20. Created: 44 seconds ago
  21. Labels: app=mongo324
  22. Annotations: openshift.io/generated-by=OpenShiftNewApp
  23. openshift.io/image.dockerRepositoryCheck=2016-04-04T17:40:57Z
  24. Docker Pull Spec: 172.30.184.50:5000/re-risk-engine-demo/mongo324
  25.  
  26. Tag Spec Created PullSpec Image
  27. 3.2.4 mongo:3.2.4 42 seconds ago mongo@sha256:bcf384bb6f1d6b... <same>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement