Update build_enhancements.md

Updated to the correct docker build command.
This commit is contained in:
todd densmore 2018-11-28 09:22:56 -05:00 committed by GitHub
parent ef9b2bc133
commit d448491e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ For more information on build options, see the reference guide on the [command l
Easiest way from a fresh install of docker is to set the `DOCKER_BUILDKIT=1` environment variable when invoking the `docker build` command, such as: Easiest way from a fresh install of docker is to set the `DOCKER_BUILDKIT=1` environment variable when invoking the `docker build` command, such as:
``` ```
$ DOCKER_BUILD=1 docker build . $ DOCKER_BUILDKIT=1 docker build .
``` ```
To enable docker buildkit by default, set daemon configuration in `/etc/docker/daemon.json` feature to true and restart the daemon: To enable docker buildkit by default, set daemon configuration in `/etc/docker/daemon.json` feature to true and restart the daemon: