Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
driver: docker-container driver uses --config correctly in rootless mode
The `docker-container` driver relies on the default config file location for buildkit when writing the configuration file. When run in a rootless version of docker (dind), the default location is different. Instead of trying to figure out where the appropriate default location is, this just writes the files to the same location and sets the `--config` parameter explicitly. This flag is placed first so a user-specified config option in `--buildkitd-flags` will take precedence over the implicit config parameter. Signed-off-by: Jonathan A. Sternberg <[email protected]>
- Loading branch information