You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ hello.dockerapp
41
41
```
42
42
43
43
We created a new file `hello.dockerapp` that contains three YAML documents:
44
-
- metadatas
44
+
- metadata
45
45
- the Compose file
46
-
- settings for your application
46
+
- parameters for your application
47
47
48
48
It should look like this:
49
49
@@ -69,7 +69,7 @@ services:
69
69
{}
70
70
```
71
71
72
-
Let's edit the settings section and add the following default values for our application:
72
+
Let's edit the parameters section and add the following default values for our application:
73
73
74
74
```yaml
75
75
port: 5678
@@ -113,7 +113,7 @@ You can then use that Compose file like any other. You could save it to disk or
113
113
$ docker-app render | docker-compose -f - up
114
114
```
115
115
116
-
This is where it gets interesting. We can override those settings at runtime, using the `--set` option. Let's specify different option and run `render` again:
116
+
This is where it gets interesting. We can override those parameters at runtime, using the `--set` option. Let's specify different option and run `render` again:
We have lots of ideas for making Compose-based applications easier to share and reuse, and making applications a first-class part of the Docker toolchain. Please let us know what you think about this initial release and about any of the ideas below:
199
199
200
-
* Introducing environments to the settings file
200
+
* Introducing environments to the parameters file
201
201
* Docker images which launch the application when run
202
202
* Built-in commands for running applications
203
203
* Saving required images into the application artifact to support offline installation
@@ -212,9 +212,10 @@ $ docker-app
212
212
213
213
Usage: docker-app [OPTIONS] COMMAND
214
214
215
-
Docker Application Packages
215
+
Build and deploy Docker Application Packages.
216
216
217
217
Options:
218
+
-c, --context string context to use to connect to the daemon (overrides host flag, DOCKER_HOST env var and default context set with "docker context use")
218
219
-D, --debug Enable debug mode
219
220
-H, --host list Daemon socket(s) to connect to
220
221
-l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
@@ -229,7 +230,7 @@ Commands:
229
230
completion Generates completion scripts for the specified shell (bash or zsh)
230
231
deploy Deploy or update an application
231
232
init Start building a Docker application
232
-
inspect Shows metadata, settings and a summary of the compose file for a given application
233
+
inspect Shows metadata, parameters and a summary of the compose file for a given application
233
234
merge Merge a multi-file application into a single file
234
235
push Push the application to a registry
235
236
render Render the Compose file for the application
0 commit comments