Skip to content

Commit

Permalink
Merge pull request #1353 from dvdksn/absolute-links-part2
Browse files Browse the repository at this point in the history
docs: replaced broken relative links
  • Loading branch information
crazy-max authored Oct 11, 2022
2 parents 7add6e4 + c76f3d3 commit c5aec24
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 25 deletions.
6 changes: 3 additions & 3 deletions docs/guides/cache/azblob.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ The `azblob` cache store uploads your resulting build cache to
>
> This cache storage backend requires using a different driver than the default
> `docker` driver - see more information on selecting a driver
> [here](../drivers/index.md). To create a new driver (which can act as a simple
> drop-in replacement):
> [here](https://docs.docker.com/build/building/drivers/). To create a new
> driver (which can act as a simple drop-in replacement):
>
> ```console
> docker buildx create --use --driver=docker-container
Expand Down Expand Up @@ -50,7 +50,7 @@ The environment variables are read from the server, not the Buildx client.
## Further reading

For an introduction to caching see
[Optimizing builds with cache management](https://docs.docker.com/build/building/cache).
[Optimizing builds with cache](https://docs.docker.com/build/building/cache).

For more information on the `azblob` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#azure-blob-storage-cache-experimental).
6 changes: 3 additions & 3 deletions docs/guides/cache/gha.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ inside your GitHub action pipelines, as long as your use case falls within the
>
> This cache storage backend requires using a different driver than the default
> `docker` driver - see more information on selecting a driver
> [here](../drivers/index.md). To create a new driver (which can act as a simple
> drop-in replacement):
> [here](https://docs.docker.com/build/building/drivers/). To create a new
> driver (which can act as a simple drop-in replacement):
>
> ```console
> docker buildx create --use --driver=docker-container
Expand Down Expand Up @@ -105,7 +105,7 @@ For example:
## Further reading
For an introduction to caching see
[Optimizing builds with cache management](https://docs.docker.com/build/building/cache).
[Optimizing builds with cache](https://docs.docker.com/build/building/cache).
For more information on the `gha` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#github-actions-cache-experimental).
14 changes: 8 additions & 6 deletions docs/guides/cache/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ Buildx supports the following cache storage backends:
## Command syntax

To use any of the cache backends, you first need to specify it on build with the
[`--cache-to` option](https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-to) to export the cache to your storage backend of choice. Then,
use the [`--cache-from` option](https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from) to import the cache from the storage backend into
the current build. Unlike the local BuildKit cache (which is always enabled),
all of the cache storage backends must be explicitly exported to, and explicitly
imported from. All cache exporters except for the `inline` cache requires that
you [select an alternative Buildx driver](../drivers/index.md).
[`--cache-to` option](https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-to)
to export the cache to your storage backend of choice. Then, use the
[`--cache-from` option](https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from)
to import the cache from the storage backend into the current build. Unlike the
local BuildKit cache (which is always enabled), all of the cache storage
backends must be explicitly exported to, and explicitly imported from. All cache
exporters except for the `inline` cache requires that you
[select an alternative Buildx driver](https://docs.docker.com/build/building/drivers/).

Example `buildx` command using the `registry` backend, using import and export
cache:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/cache/inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $ docker buildx build . --push -t <registry>/<image> --cache-from type=registry,
## Further reading

For an introduction to caching see
[Optimizing builds with cache management](https://docs.docker.com/build/building/cache).
[Optimizing builds with cache](https://docs.docker.com/build/building/cache).

For more information on the `inline` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#inline-push-image-and-cache-together).
6 changes: 3 additions & 3 deletions docs/guides/cache/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ solution.
>
> This cache storage backend requires using a different driver than the default
> `docker` driver - see more information on selecting a driver
> [here](../drivers/index.md). To create a new driver (which can act as a simple
> drop-in replacement):
> [here](https://docs.docker.com/build/building/drivers/). To create a new
> driver (which can act as a simple drop-in replacement):
>
> ```console
> docker buildx create --use --driver=docker-container
Expand Down Expand Up @@ -96,7 +96,7 @@ $ docker buildx build . --push -t <registry>/<image> \
## Further reading

For an introduction to caching see
[Optimizing builds with cache management](https://docs.docker.com/build/building/cache).
[Optimizing builds with cache](https://docs.docker.com/build/building/cache).

For more information on the `local` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#local-directory-1).
6 changes: 3 additions & 3 deletions docs/guides/cache/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ everything that the inline cache can do, and more:
>
> This cache storage backend requires using a different driver than the default
> `docker` driver - see more information on selecting a driver
> [here](../drivers/index.md). To create a new driver (which can act as a simple
> drop-in replacement):
> [here](https://docs.docker.com/build/building/drivers/). To create a new
> driver (which can act as a simple drop-in replacement):
>
> ```console
> docker buildx create --use --driver=docker-container
Expand Down Expand Up @@ -64,7 +64,7 @@ fail, but the build will continue.
## Further reading

For an introduction to caching see
[Optimizing builds with cache management](https://docs.docker.com/build/building/cache).
[Optimizing builds with cache](https://docs.docker.com/build/building/cache).

For more information on the `registry` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#registry-push-image-and-cache-separately).
6 changes: 3 additions & 3 deletions docs/guides/cache/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ bucket.
>
> This cache storage backend requires using a different driver than the default
> `docker` driver - see more information on selecting a driver
> [here](../drivers/index.md). To create a new driver (which can act as a simple
> drop-in replacement):
> [here](https://docs.docker.com/build/building/drivers/). To create a new
> driver (which can act as a simple drop-in replacement):
>
> ```console
> docker buildx create --use --driver=docker-container
Expand Down Expand Up @@ -57,7 +57,7 @@ The environment variables are read from the server, not the Buildx client.
## Further reading

For an introduction to caching see
[Optimizing builds with cache management](https://docs.docker.com/build/building/cache).
[Optimizing builds with cache](https://docs.docker.com/build/building/cache).

For more information on the `s3` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#s3-cache-experimental).
6 changes: 3 additions & 3 deletions docs/guides/drivers/docker-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ pass to `--driver-opt`:
## Usage

When you run a build, Buildx pulls the specified `image` (by default,
[`moby/buildkit`](https://hub.docker.com/r/moby/buildkit))
[Docker Hub](https://hub.docker.com/u/moby/buildkit). When the container has
started, Buildx submits the build submitted to the containerized build server.
[`moby/buildkit`](https://hub.docker.com/r/moby/buildkit)). When the container
has started, Buildx submits the build submitted to the containerized build
server.

```console
$ docker buildx build -t <image> --builder=container .
Expand Down

0 comments on commit c5aec24

Please sign in to comment.