Cf push -o

1 개요[ | ]

cf push -o
cf push --docker-image
cf push 앱이름 -o 도커저장소/이미지
cf push 앱이름 --docker-image 도커저장소/이미지

2 샘플[ | ]

cf push test-app -o cloudfoundry/test-app
cf push my-app -o cloudfoundry/lattice-app
cf push my-app -o MY-PRIVATE-REGISTRY.DOMAIN:5000/image/name:v2

3 실행예시[ | ]

root@zetawiki:~# cf push my-app -o cloudfoundry/lattice-app
Creating app my-app in org testorg1 / space space1 as testuser1...
OK

Creating route my-app.example.com...
OK

Binding my-app.example.com to my-app...
OK


Starting app my-app in org testorg1 / space space1 as testuser1...
Creating container
Successfully created container
Staging...
Staging process started ...
Staging process finished
Exit status 0
Staging Complete

1 of 1 instances running

App started


OK

App my-app was started using this command `/lattice-app `

Showing health and status for app my-app in org testorg1 / space space1 as testuser1...
OK

requested state: started
instances: 1/1
usage: 1G x 1 instances
urls: my-app.example.com
last uploaded: Tue Mar 14 09:09:44 UTC 2017
stack: cflinuxfs2
buildpack: unknown

     state     since                    cpu    memory    disk      details
#0   running   2017-03-14 07:54:50 PM   0.0%   0 of 1G   0 of 1G

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}