Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Local compose: build only if image not available, during compose up, except with --build #1025

@gtardif

Description

@gtardif

docker compose up will build service image if a service has an image section.
it should first check if the image is already available locally and use it without rebuilding if available.
users can force rebuilding images with docker compose up --build

When docker compose up must build the image because it is not available locally, it should warn the user it does so only the first time, and let the user know they can for rebuild with --build

(to replicate docker-compose behaviour)

Metadata

Metadata

Assignees

Labels

localLocal context (moby)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions