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

Commit c33123d

Browse files
authored
Merge pull request #471 from ulyssessouza/namespace-remove-readme
Remove namespace leftovers from doc and example
2 parents 00f88e0 + 5a45a6b commit c33123d

File tree

5 files changed

+6
-13
lines changed

5 files changed

+6
-13
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ It should look like this:
5151
version: 0.1.0
5252
name: hello
5353
description: ""
54-
namespace: ""
5554
maintainers:
5655
- name: yourusername
5756
email: ""
@@ -233,18 +232,17 @@ If you want to store additional files in the application package, such as `prod.
233232
You can push any application to the Hub using `docker-app push`:
234233

235234
``` bash
236-
$ docker-app push --namespace myhubuser --tag latest
235+
$ docker-app push --tag myhubuser/myimage:latest
237236
```
238237

239-
This command will push to the Hub an image named `myhubuser/hello.dockerapp:latest`.
238+
This command will push to the Hub an image named `myhubuser/myimage:latest`.
240239

241-
If you omit the `--tag latest` argument, this command uses the application `version` defined in `metadata.yml` as the tag.
242-
If you omit the `--namespace myhubuser` argument, this command uses the application `namespace` defined in `metadata.yml` as the image namespace.
240+
If you omit the `--tag myhubuser/myimage:latest` argument, this command uses the application `version` defined in `metadata.yml` as the tag.
243241

244242
All `docker-app` commands accept an image name as input, which means you can run on a different host:
245243

246244
``` bash
247-
$ docker-app inspect myhubuser/hello
245+
$ docker-app inspect myhubuser/myimage
248246
```
249247

250248
## Next steps

examples/hello-world/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ version: 0.1.0
2121
name: hello-world
2222
# A short description of the application
2323
description:
24-
# Namespace to use when pushing to a registry. This is typically your Hub username.
25-
#namespace: myhubusername
2624
# List of application maintainers with name and email for each
2725
maintainers:
2826
- name: user
@@ -41,7 +39,7 @@ Open `hello-world.dockerapp` with your favorite text editor.
4139

4240
### Edit metadata
4341

44-
Edit the `description`, `namespace` and `maintainers` fields in the metadata section.
42+
Edit the `description` and `maintainers` fields in the metadata section.
4543

4644
### Add variables to the compose file
4745

examples/hello-world/hello-world.dockerapp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ version: 0.1.0
55
name: hello-world
66
# A short description of the application
77
description: "Hello, World!"
8-
# Namespace to use when pushing to a registry. This is typically your Hub username.
9-
namespace: myhubusername
108
# List of application maintainers with name and email for each
119
maintainers:
1210
- name: user

examples/voting-app/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Initialize the project using `docker-app init voting-app --compose-file docker-s
1111
Go to `voting-app.dockerapp/` and open `metadata.yml` and fill the following fields:
1212
- description
1313
- maintainers
14-
- namespace
1514

1615
### Add variables to the compose file
1716

examples/wordpress/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ wordpress.dockerapp latest 61f8cafb7762 4 minutes ago
136136

137137
The image can be pushed to the hub:
138138
```
139-
$ docker push --namespace <username> wordpress
139+
$ docker push wordpress
140140
The push refers to repository [docker.io/<username>/wordpress.dockerapp]
141141
61f8cafb7762: Pushed
142142
latest: digest: sha256:91b9b526ac1e645e9c89663ff1453c2d7f68535e2dbbca6d4466d365e15ee155 size: 525

0 commit comments

Comments
 (0)