This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,14 @@ $ docker app inspect myrepo/hello:0.1.0
188188**Note**: Commands like `install`, `upgrade`, `render`, etc. can also be used
189189directly on Application Packages that are in a registry.
190190
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+
191199More examples are available in the [examples](examples) directory.
192200
193201# # CNAB
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ import (
1616 "github.com/spf13/cobra"
1717)
1818
19- type listOptions struct {
20- }
21-
2219var (
2320 listColumns = []struct {
2421 header string
@@ -39,22 +36,20 @@ var (
3936)
4037
4138func listCmd (dockerCli command.Cli ) * cobra.Command {
42- var opts listOptions
43-
4439 cmd := & cobra.Command {
4540 Use : "ls [OPTIONS]" ,
4641 Short : "List running Apps" ,
4742 Aliases : []string {"list" },
4843 Args : cli .NoArgs ,
4944 RunE : func (cmd * cobra.Command , args []string ) error {
50- return runList (dockerCli , opts )
45+ return runList (dockerCli )
5146 },
5247 }
5348
5449 return cmd
5550}
5651
57- func runList (dockerCli command.Cli , opts listOptions ) error {
52+ func runList (dockerCli command.Cli ) error {
5853 installations , err := getInstallations (dockerCli .CurrentContext (), config .Dir ())
5954 if err != nil {
6055 return err
You can’t perform that action at this time.
0 commit comments