Docker buildx cache

From wikieduonline
(Redirected from --cache-to)
Jump to navigation Jump to search

https://docs.docker.com/build/cache/backends/



Official example:

docker buildx build --push -t <registry>/<image> \
  --cache-to type=registry,ref=<registry>/<cache-image>[,parameters...] \
  --cache-from type=registry,ref=<registry>/<cache-image>[,parameters...] .

Related[edit]

See also[edit]

Advertising: