github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/docker-external/index.html.md (about) 1 --- 2 layout: "app_docker_external" 3 page_title: "Docker (External) - App Types" 4 sidebar_current: "docs-docker-index" 5 description: |- 6 The "docker-external" application type is used for Docker images 7 that are already built and in a registry somewhere. 8 --- 9 10 # Docker (External) App Type 11 12 **Type:** `docker-external` 13 14 The "docker-external" application type is used for Docker images 15 that are already built and in a registry somewhere. The "external" is 16 there to signify that the image is built external to the Otto lifecycle, 17 and already exists. 18 19 The primary purpose of this application type is to make it incredibly 20 easy to depend and deploy anything in the Docker ecosystem with Otto. 21 22 ## Example 23 24 Below is an example Appfile that uses the "docker-external" type: 25 26 ``` 27 application { 28 name = "mongodb" 29 type = "docker-external" 30 } 31 32 customization "docker" { 33 image = "mongo:3.0" 34 run_args = "-p 27017:27017" 35 } 36 ``` 37 38 This Appfile can be used as a dependency of another application, and 39 can be deployed as well.