Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -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
- --> Found Docker image d383841 (3 weeks old) from Docker Hub for "mongo:3.2.4"
- * An image stream will be created as "mongo324:3.2.4" that will track this image
- * This image will be deployed in deployment config "mongo324"
- * Port 27017/tcp will be load balanced by service "mongo324"
- * Other containers can access this service through the hostname "mongo324"
- * This image declares volumes and will default to use non-persistent, host-local storage.
- You can add persistent volumes later by running 'volume dc/mongo324 --add ...'
- * WARNING: Image "mongo" runs as the 'root' user which may not be permitted by your cluster administrator
- --> Creating resources with label app=mongo324 ...
- imagestream "mongo324" created
- deploymentconfig "mongo324" created
- service "mongo324" created
- --> Success
- Run 'oc status' to view your app.
- -bash-4.2$ oc describe is mongo324
- Name: mongo324
- Created: 44 seconds ago
- Labels: app=mongo324
- Annotations: openshift.io/generated-by=OpenShiftNewApp
- openshift.io/image.dockerRepositoryCheck=2016-04-04T17:40:57Z
- Docker Pull Spec: 172.30.184.50:5000/re-risk-engine-demo/mongo324
- Tag Spec Created PullSpec Image
- 3.2.4 mongo:3.2.4 42 seconds ago mongo@sha256:bcf384bb6f1d6b... <same>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement