CF CLI v6.31.0 Released Today - Docker image support in app manifest


Koper, Dies <diesk@...>
 

The CF CLI team cut 6.31.0 today.
Deb, yum and Homebrew repos have been updated; binaries, installers and link to release notes are available at:

https://github.com/cloudfoundry/cli#downloads
App manifest support for Docker apps

This cf CLI release introduces new attributes to the app manifest to support pushing of Docker apps.
Private Docker repositories are also supported, using the non-interactive workflow introduced for push in cf CLI 6.26.0 with the CF_DOCKER_PASSWORD environment variable.



$ cat ./manifest.yml

---

applications:

name: dockerapp

docker:

image: internal-registry.example.com:5000/my-repo/my-image:v2

username: alice



$ CF_DOCKER_PASSWORD=$(pass docker/image) cf push

Using manifest file ./manifest.yml



Creating app dockerapp in org myorg / space dev as alice...

...

Refer to the Deploying with App Manifests<http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#docker> documentation for details.

The private Docker repo feature requires a target CF release of v260 (CC API v2.82.0) onwards.

Built with Golang 1.9.0

Golang 1.9.0 was released last month.
See the Golang announcement<https://golang.org/doc/go1.9> for details.

Refactored commands

We are in the process of creating a more consistent user experience; our goal is to standardize UI output.
For example, warnings and errors will consistently be outputted to stderr instead of stdout and English table and key-value headers displayed in lowercase.
As we iterate through the list of commands, we are also focusing on improving performance and stability.
Please review your scripts if they depend on the output of these commands.

List of improved commands in this release:

* create-app-manifest

Updated commands

* push now accepts docker attributes in the app manifest to push a Docker app. (#696<https://github.com/cloudfoundry/cli/issues/696>)
* create-app-manifest now includes the docker attributes when generating an app manifest for a Docker app.
* app now displays the image name of a Docker app.

Refer to the documentation<https://docs.cloudfoundry.org/devguide/deploy-apps/cf-networking.html#create-policies> for details.

New & updated community plugins

* network-policy<https://github.com/cloudfoundry-incubator/cf-networking-release> v1.6.0 - Allow the user to manage application network policies
Enjoy!

Regards,
Dies Koper
Cloud Foundry Product Manager - CLI

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.