From 9fdf991c27933ed45115793784e641df7134b5fe Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 13 Sep 2022 22:06:45 +0200 Subject: [PATCH] docs: update links in driver guide Signed-off-by: CrazyMax --- docs/guides/drivers/docker-container.md | 2 -- docs/guides/drivers/docker.md | 4 +--- docs/guides/drivers/index.md | 12 +++++------- docs/guides/drivers/kubernetes.md | 2 -- docs/guides/drivers/remote.md | 2 -- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/docs/guides/drivers/docker-container.md b/docs/guides/drivers/docker-container.md index 3b0dacb6..b91ed720 100644 --- a/docs/guides/drivers/docker-container.md +++ b/docs/guides/drivers/docker-container.md @@ -71,5 +71,3 @@ REPOSITORY TAG IMAGE ID CREATED ## Further reading For more information on the docker-container driver, see the [buildx reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver). - - diff --git a/docs/guides/drivers/docker.md b/docs/guides/drivers/docker.md index 4a23755b..b24f7b00 100644 --- a/docs/guides/drivers/docker.md +++ b/docs/guides/drivers/docker.md @@ -34,7 +34,7 @@ the available [Docker Contexts](https://docs.docker.com/engine/context/working-w When you add new contexts using `docker context create`, these will appear in your list of buildx builders. -Unlike the [other drivers](../index.md), builders using the docker driver +Unlike the [other drivers](./index.md), builders using the docker driver cannot be manually created, and can only be automatically created from the docker context. Additionally, they cannot be configured to a specific BuildKit version, and cannot take any extra parameters, as these are both preset by the @@ -46,5 +46,3 @@ overhead, then see the help page for the [docker-container driver](./docker-cont ## Further reading For more information on the docker driver, see the [buildx reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver). - - diff --git a/docs/guides/drivers/index.md b/docs/guides/drivers/index.md index 66ae38d7..e7388267 100644 --- a/docs/guides/drivers/index.md +++ b/docs/guides/drivers/index.md @@ -2,24 +2,22 @@ The buildx client connects out to the BuildKit backend to execute builds - Buildx drivers allow fine-grained control over management of the backend, and -supports several different options for where and how BuildKit should run. +supports several options for where and how BuildKit should run. Currently, we support the following drivers: - The `docker` driver, that uses the BuildKit library bundled into the Docker daemon. - ([guide](./docker.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver)) + ([guide](./docker.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#docker-driver-1)) - The `docker-container` driver, that launches a dedicated BuildKit container using Docker, for access to advanced features. - ([guide](./docker-container.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver)) + ([guide](./docker-container.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#docker-container-driver-1)) - The `kubernetes` driver, that launches dedicated BuildKit pods in a remote Kubernetes cluster, for scalable builds. - ([guide](./kubernetes.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver)) + ([guide](./kubernetes.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#kubernetes-driver-1)) - The `remote` driver, that allows directly connecting to a manually managed BuildKit daemon, for more custom setups. - ([guide](./remote.md)) - - + ([guide](./remote.md), [reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#remote-driver-1)) To create a new builder that uses one of the above drivers, you can use the [`docker buildx create`](https://docs.docker.com/engine/reference/commandline/buildx_create/) command: diff --git a/docs/guides/drivers/kubernetes.md b/docs/guides/drivers/kubernetes.md index 0d4d386a..0430536d 100644 --- a/docs/guides/drivers/kubernetes.md +++ b/docs/guides/drivers/kubernetes.md @@ -234,5 +234,3 @@ This will create your pods without `securityContext.privileged`. ## Further reading For more information on the kubernetes driver, see the [buildx reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver). - - diff --git a/docs/guides/drivers/remote.md b/docs/guides/drivers/remote.md index b0a314e3..5e61245b 100644 --- a/docs/guides/drivers/remote.md +++ b/docs/guides/drivers/remote.md @@ -174,5 +174,3 @@ $ docker buildx create \ --driver remote \ kube-pod://buildkitd-XXXXXXXXXX-xxxxx ``` - - \ No newline at end of file