From 9bc9291fc99f9db42e20d52c97884e965fa17790 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Mon, 17 May 2021 22:33:08 -0700 Subject: [PATCH] readme: update installation instructions Signed-off-by: Tonis Tiigi --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 10256a2f..5249d3ca 100644 --- a/README.md +++ b/README.md @@ -45,12 +45,11 @@ Key features: # Installing -Using `buildx` as a docker CLI plugin requires using Docker 19.03. A limited set of functionality works with older versions of Docker when invoking the binary directly. +Using `buildx` as a docker CLI plugin requires using Docker 19.03 or newer. A limited set of functionality works with older versions of Docker when invoking the binary directly. -### Docker CE +### Docker -`buildx` comes bundled with Docker CE starting with 19.03, but requires experimental mode to be enabled on the Docker CLI. -To enable it, `"experimental": "enabled"` can be added to the CLI configuration file `~/.docker/config.json`. An alternative is to set the `DOCKER_CLI_EXPERIMENTAL=enabled` environment variable. +`buildx` comes bundled with Docker Desktop and in latest Docker CE packages. ### Binary release @@ -63,13 +62,8 @@ chmod a+x ~/.docker/cli-plugins/docker-buildx # Building -### with Docker 18.09+ -``` -$ git clone git://github.com/docker/buildx && cd buildx -$ make install -``` -### with buildx or Docker 19.03 +### with buildx or Docker 19.03+ ``` $ export DOCKER_BUILDKIT=1 $ docker build --platform=local -o . git://github.com/docker/buildx @@ -77,6 +71,12 @@ $ mkdir -p ~/.docker/cli-plugins $ mv buildx ~/.docker/cli-plugins/docker-buildx ``` +### with Docker 18.09+ +``` +$ git clone git://github.com/docker/buildx && cd buildx +$ make install +``` + # Getting started ## Building with buildx