This plugin enable Diego-specific features, and also allows pushing docker image. For more detail information of running apps on Diego, see here
##Installation
#####Install from Repo (v.6.10.0+)
$ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/
$ cf install-plugin Diego-Beta -r CF-Community
#####Install from Url (v.6.8.0+) OSX
cf install-plugin https://github.com/cloudfoundry-incubator/diego-cli-plugin/raw/master/bin/osx/diego-beta.osx
linux64:
cf install-plugin https://github.com/cloudfoundry-incubator/diego-cli-plugin/raw/master/bin/linux64/diego-beta.linux64
windows64:
cf install-plugin https://github.com/cloudfoundry-incubator/diego-cli-plugin/raw/master/bin/win64/diego-beta.win64
#####Install from Binary file (v.6.7.0)
##Full Command List
command | usage | description |
---|---|---|
enable-diego |
cf enable-diego App_Name |
enable diego for an app |
disable-diego |
cf disable-diego App_Name |
disable diego for an app |
has-diego-enabled |
cf has-diego-enabled App_Name |
check if diego is enabled for an app |
set-health-check |
cf set-health-check App_Name port |
set health_check_type flag to either port or none |
get-health-check |
cf get-health-check |
get value of health_check_type flag |
docker-push |
cf docker-push APP_NAME DOCKER_IMAGE [Options] Usage: cf docker-push test-app user/docker_path -c run.sh |
push a docker image as an app Options: -c : set start command--no-start : Do not start app after push--no-route : Do not create route for app |