Tilt: Allow explicit disabling of BuildKit

Created on 2 Jan 2020  路  2Comments  路  Source: tilt-dev/tilt

When your docker daemon has the experimental flag enabled, tilt will (usually helpfully!) automatically enable DOCKER_BUILDKIT. When using certain dockerd settings (e.g. insecure registries per moby/buildkit#606), this can cause docker_build failures.

Tilt should provide an option to explicitly disable DOCKER_BUILDKIT (or opt-in, but that is a backwards incompatible change from a docs perspective).

question

All 2 comments

Hey @rpocase, if you set DOCKER_BUILDKIT=0 when you run Tilt (i.e. DOCKER_BUILDKIT=0 tilt up) then buildkit should be disabled.

Does that work for you?

That seems to work! I think the only thing that needs to change then is an update to the FAQ.

Was this page helpful?
0 / 5 - 0 ratings