This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,14 @@ $ docker app inspect myrepo/hello:0.1.0
188
188
**Note**: Commands like `install`, `upgrade`, `render`, etc. can also be used
189
189
directly on Application Packages that are in a registry.
190
190
191
+ You can specify the Docker endpoint where an application is installed using a
192
+ context and the `--context` option. If you do not specify one, it will
193
+ use the currently active context.
194
+
195
+ Whenever you define such a context, the installer image will run in the `default`
196
+ context (i.e. on local host). You can use the `--installer-context` to target
197
+ another context to run the installer image.
198
+
191
199
More examples are available in the [examples](examples) directory.
192
200
193
201
# # CNAB
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ import (
16
16
"github.com/spf13/cobra"
17
17
)
18
18
19
- type listOptions struct {
20
- }
21
-
22
19
var (
23
20
listColumns = []struct {
24
21
header string
@@ -39,22 +36,20 @@ var (
39
36
)
40
37
41
38
func listCmd (dockerCli command.Cli ) * cobra.Command {
42
- var opts listOptions
43
-
44
39
cmd := & cobra.Command {
45
40
Use : "ls [OPTIONS]" ,
46
41
Short : "List running Apps" ,
47
42
Aliases : []string {"list" },
48
43
Args : cli .NoArgs ,
49
44
RunE : func (cmd * cobra.Command , args []string ) error {
50
- return runList (dockerCli , opts )
45
+ return runList (dockerCli )
51
46
},
52
47
}
53
48
54
49
return cmd
55
50
}
56
51
57
- func runList (dockerCli command.Cli , opts listOptions ) error {
52
+ func runList (dockerCli command.Cli ) error {
58
53
installations , err := getInstallations (dockerCli .CurrentContext (), config .Dir ())
59
54
if err != nil {
60
55
return err
You can’t perform that action at this time.
0 commit comments