Buildkit: Docker compose support

Created on 13 Oct 2018  路  10Comments  路  Source: moby/buildkit

Is there any work done to support docker-compose build ?

help wanted

Most helpful comment

All 10 comments

@shin-

Yup, it's on my radar: https://github.com/docker/compose/issues/883#issuecomment-407467051

I hope to take a closer look at what it would take after the 1.23 release.

Slightly off-topic, but is there plan to support build in docker stack deploy?

Is this the "official" issue to follow? Really looking forward for BuildKit support in docker-compose :)

@paslandau Probably this should be tracked in docker-compose repo

@AkihiroSuda
The "if not, is there another official issue to follow?" was kinda implied ;)

Given that buildkit support in docker-py looks like it's a long ways off (https://github.com/docker/docker-py/issues/2230) and that docker-cli / docker-py differences have caused issues and continue to do so (https://github.com/docker/compose/issues/883), is invoking the CLI to build images instead of using python an option?

https://github.com/docker/compose/pull/6865 is merged

Building compose with buildkit is also available with docker buildx bake https://github.com/docker/buildx#buildx-bake-options-target

for future reference
for BuildKit support use DOCKER_BUILDKIT=1 and COMPOSE_DOCKER_CLI_BUILD=1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thaJeztah picture thaJeztah  路  5Comments

rittneje picture rittneje  路  4Comments

skaegi picture skaegi  路  3Comments

tonistiigi picture tonistiigi  路  4Comments

moikot picture moikot  路  6Comments