anchor.diff:  This topic provides information about how Docker works in Cloud Foundry and describes how to push an application with a Docker image.
   For information about Diego, see the [Diego Architecture](../concepts/diego/diego-architecture.html) topic.
   
  +<%= vars.docker_auth2 %>
  +
   In addition to the default Linux environment provided by Cloud Foundry, 
   operators can specify a Docker image that provides the file system used by the 
   container.
  -When pushing an app, you can specify the location of the docker image you want 
  +When pushing an app, you can specify the location of the Docker image you want 
   to use.
   
   A Docker image consists of a collection of layers.
  
positive.code: 
  To deploy a Docker image using a specified Docker registry, run the following command:
  
  <pre>$ cf push APP-NAME --docker-image MY-PRIVATE-REGISTRY.DOMAIN:PORT/REPO/IMAGE:TAG
  </pre>
  
  Replace the following values in the command above:
  
negative.code: 
  ###<a id='volume'></a> Docker Volume Support
  
  Diego supports Docker volumes. 
  For more information about enabling volume support, see the [Using an External File System (Volume Services)](../devguide/services/using-vol-services.html) topic.
  For information about the limitations of NFS volumes, see the [NFS Bosh Volume Release](https://github.com/cloudfoundry-incubator/nfs-volume-release#special-notes-for-docker-image-based-apps).
  
  
  