Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 072287b

Browse files
committed
Fix help to match current behaviour
app can only be ran from an image built by docker app build Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 38753b7 commit 072287b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

internal/commands/run.go

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,9 @@ const (
3333
nameKindReference
3434
)
3535

36-
const longDescription = `Run an application.
37-
By default, the application definition in the current directory will be ran. The APP_NAME can also be:
38-
- a path to a Docker Application definition (.dockerapp) or a CNAB bundle.json
39-
- a registry Application Package reference`
40-
41-
const example = `$ docker app run myapp.dockerapp --name myinstallation --target-context=mycontext
42-
$ docker app run myrepo/myapp:mytag --name myinstallation --target-context=mycontext
43-
$ docker app run bundle.json --name myinstallation --credential-set=mycredentials.yml`
36+
const longDescription = `Run an application based on a docker app image.`
37+
38+
const example = `$ docker app run myrepo/myapp:mytag --name myinstallation --target-context=mycontext`
4439

4540
func runCmd(dockerCli command.Cli) *cobra.Command {
4641
var opts runOptions

0 commit comments

Comments
 (0)