?
This document uses PHP Chinese website manual Release
Usage: push [options] [SERVICE...]Options: --ignore-push-failures Push what it can and ignores images with push failures.
將服務(wù)的圖像推送到它們各自的位置registry/repository
。
做出以下假設(shè):
您正在推送您在本地創(chuàng)建的圖像
您可以訪問(wèn)構(gòu)建密鑰
version: '3'services: service1: build: . image: localhost:5000/yourimage # goes to local registry service2: build: . image: youruser/yourimage # goes to youruser DockerHub registry