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 @@ -186,34 +186,19 @@ REPOSITORY TAG IMAGE ID CREATED
186186wordpress.dockerapp latest 61f8cafb7762 4 minutes ago 1.2kB
187187```
188188
189- The package can later be retrieved using `docker-app load`:
190-
189+ The image can be pushed to the hub:
191190```
192- $ rm -rf wordpress.dockerapp
193- $ docker-app load wordpress.dockerapp
194- $ tar -tf wordpress.dockerapp # TODO: should unpack automatically?
195- metadata.yml
196- docker-compose.yml
197- settings.yml
198- $ mv wordpress.dockerapp wordpress # TODO: fix UX
199- $ docker-app unpack wordpress
200- $ tree wordpress.dockerapp
201- ./wordpress.dockerapp/
202- ├── metadata.yml
203- ├── docker-compose.yml
204- └── settings.yml
205-
206- 0 directories, 3 files
191+ $ docker push --namespace <username > wordpress
192+ The push refers to repository [ docker.io/<username >/wordpress.dockerapp]
193+ 61f8cafb7762: Pushed
194+ latest: digest: sha256:91b9b526ac1e645e9c89663ff1453c2d7f68535e2dbbca6d4466d365e15ee155 size: 525
207195```
208196
209- ### Archive app package
210-
211- `docker-app pack wordpress` creates a tar archive containing the relevant configuration files:
197+ One can now deploy the application using `docker-app deploy`:
212198
213199```
214- $ docker-app pack wordpress --output myapp.tar
215- $ tar -tf myapp.tar
216- metadata.yml
217- docker-compose.yml
218- settings.yml
200+ $ docker-app deploy <username >/wordpress
201+ Creating network wordpress_overlay
202+ Creating service wordpress_mysql
203+ Creating service wordpress_wordpress
219204```
You can’t perform that action at this time.
0 commit comments