Usage: push [options] [SERVICE...] Options: --ignore-push-failures Push what it can and ignores images with push failures.
Pushes images for services to their respective
The following assumptions are made:
You are pushing an image you have built locally
You have access to the build key
version: '3' services: service1: build: . image: localhost:5000/yourimage # goes to local registry service2: build: . image: youruser/yourimage # goes to youruser DockerHub registry
© 2017 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.