1 개요[ | ]
- cf push -o
- cf push --docker-image
Bash
Copy
cf push 앱이름 -o 도커저장소/이미지
Bash
Copy
cf push 앱이름 --docker-image 도커저장소/이미지
2 샘플[ | ]
Bash
Copy
cf push test-app -o cloudfoundry/test-app
Bash
Copy
cf push my-app -o cloudfoundry/lattice-app
Bash
Copy
cf push my-app -o MY-PRIVATE-REGISTRY.DOMAIN:5000/image/name:v2
3 실행예시[ | ]
Console
Copy
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 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- Docker (1)
2018년 구름IDE 도커 설치 테스트 ― Jmnote