描述
推送服务的镜像到对应的仓库
用法
Usage: push [options] [SERVICE...]
Options:
--ignore-push-failures 推送失败则忽略.
实例
version: '3'services:
service1:
build: .
image: localhost:5000/yourimage # goes to local registry
service2:
build: .
image: your-dockerid/yourimage # goes to your repository on Docker Hub