Clarifies compose push destination and requirements (#2843)

* Clarifies compose push destination and requirements

* Edits
This commit is contained in:
Jesse Adametz 2017-04-18 16:07:57 -05:00 committed by John Mulhausen
parent ce28a292e8
commit 2dcd8d55a3
1 changed files with 21 additions and 1 deletions

View File

@ -12,4 +12,24 @@ Options:
--ignore-push-failures Push what it can and ignores images with push failures.
```
Pushes images for services.
Pushes images for services to their respective `registry/repository`.
The following assumptions are made:
- You are pushing an image you have built locally
- You have access to the build key
## Example
```yaml
version: '3'
services:
service1:
build: .
image: localhost:5000/yourimage # goes to local registry
service2:
build: .
image: youruser/yourimage # goes to youruser DockerHub registry
```