compose/docs/reference/compose_push.md
Nick Sieger 8bd487ac43
docs: update with result of make docs
Signed-off-by: Nick Sieger <nick@nicksieger.com>
2022-10-11 15:19:24 -05:00

767 B

docker compose push

Push service images

Options

Name Type Default Description
--ignore-push-failures Push what it can and ignores images with push failures
-q, --quiet Push without printing progress information

Description

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

Examples

services:
  service1:
    build: .
    image: localhost:5000/yourimage  ## goes to local registry

  service2:
    build: .
    image: your-dockerid/yourimage  ## goes to your repository on Docker Hub