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

Commit ede60f1

Browse files
Update CNAB-simple example to reflect the UX changes.
Add final step (remove running app) to hello-world example. Signed-off-by: Caroline Briaud <[email protected]>
1 parent 0c682c3 commit ede60f1

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

examples/cnab-simple/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ docker app build . -f hello.dockerapp -t myrepo/cnab-example:1.0.0
2323
sha256:ee61121d6bff0266404cc0077599c1ef7130289fec721
2424
```
2525

26-
*Note that a `bundle.json` file has been created in the `/Users/username/.docker/app/bundles/docker.io/myrepo/cnab-example/_tags/1.0.0` directory.*
26+
*Note that a `bundle.json` file has been created in the `~/.docker/app/bundles/docker.io/myrepo/cnab-example/_tags/1.0.0` directory.*
2727

2828
Open the open the `bundle.json` file in your favorite text editor and you'll see this is a [CNAB bundle](https://github.com/cnabio/cnab-spec).
2929

@@ -74,7 +74,7 @@ To demonstrate that Docker App is an implementation of [CNAB](https://cnab.io/),
7474

7575
*Note: To use this flag, you have to enable the experimental mode for the Docker CLI first.*
7676

77-
Open the `/Users/username/.docker/config.json` file in a text editor and change the `"experimental"` field to `"enabled"`.
77+
Open the `~/.docker/config.json` file in a text editor and change the `"experimental"` field to `"enabled"`.
7878

7979
Run your app passing a `bundle.json` file.
8080

@@ -98,7 +98,7 @@ Inspect your running app using the `docker app inspect`command.
9898
```shell
9999
$ docker app inspect mycnabexample --pretty
100100
Running App:
101-
Name: titi
101+
Name: mycnabexample
102102
Created: 1 minute ago
103103
Modified: 1 minute ago
104104
Revision: 01DT28SRQZF12FN5YFQ36XCBYS

examples/hello-world/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,12 @@ Parameters:
167167
168168
ID NAME MODE REPLICAS IMAGE PORTS
169169
mocfqnkadxw3 myhelloworld_hello replicated 1/1 hashicorp/http-echo *:8080->5678/tcp
170-
```
170+
```
171+
172+
Finally, remove the current running App using the `docker app rm`command.
173+
174+
```shell
175+
$ docker app rm myhelloworld
176+
Removing service myhelloworld_hello
177+
Removing network myhelloworld_default
178+
```

0 commit comments

Comments
 (0)