Skip to content

Latest commit

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Diego-Beta CLI Plugin

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)

  • Download the binary win64linux64osx
  • Install plugin $ cf install-plugin <binary_name>

##Full Command List

commandusagedescription
enable-diegocf enable-diego App_Nameenable diego for an app
disable-diegocf disable-diego App_Namedisable diego for an app
has-diego-enabledcf has-diego-enabled App_Namecheck if diego is enabled for an app
set-health-checkcf set-health-check App_Name portset health_check_type flag to either port or none
get-health-checkcf get-health-checkget value of health_check_type flag
docker-pushcf 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages