Commit Graph

19 Commits

Author SHA1 Message Date
Allie Sadler 52d9961df2 changes after review 2022-05-17 15:57:25 +01:00
Allie Sadler bb2f0178e7 updating linux references to DD 2022-05-17 13:41:07 +01:00
Usha Mandya da4bd106d6
Update buildx/working-with-buildx.md 2022-02-04 13:54:14 +00:00
Philip Couling 9bfde47e79
Update working-with-buildx.md 2022-01-28 10:12:31 +00:00
Philip Couling 0caed3c947
Update working-with-buildx.md
The current wording is a little misleading on QEMU and binfmt_misc.  This is a problem Ubuntu and, maybe, other distributions.

> For QEMU binaries registered with `binfmt_misc` on the host OS to work transparently inside containers they must be registered with the `fix_binary` flag.  This requires a kernel >= 4.8 and binfmt-support >= 2.1.7. You can check for proper registration by checking if `F` is among the flags in `/proc/sys/fs/binfmt_misc/qemu-*`.

This implies that setting the fix_binary flag on otherwise installed QEMU & binfmt_msc will work; it probably wont. 

Eg installing Ubuntu packages `qemu-user` `qemu-user-binfmt` will install dynamically linked QEMU and binfmt_msc entries without the `F` flag.  Manually adding `F` to the flags will break because `F` (fix_binary) is incompatible with dynamically linked binaries.  (Referenced in [this Redhat issue](https://bugzilla.redhat.com/show_bug.cgi?id=1470397))  It actually results in really hard to diagnose "No such file or directory" errors.  Instead you must install the ubuntu package `qemu-user-static`.

Obviously this page can't document every distribution so I'm not going to recommend describing how to do it under Ubuntu.  My suggestion is to simply state that QEMU must be statically compiled.  At least this gives readers a chance to figure it out.
2022-01-17 21:25:41 +00:00
CrazyMax 82f12a4366
buildx(install): fix typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-14 00:04:22 +01:00
CrazyMax 1f1188958e
Update buildx install section
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-12 23:08:03 +01:00
CrazyMax e1ad0b67f3
Update buildx docs (#13267)
* Update buildx docs

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>

* Minor style updates

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-03 10:38:41 +01:00
TED 558ab5e179
Fix broken link 2021-04-29 15:17:20 +07:00
Sebastiaan van Stijn e22984f7d4
use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Sebastiaan van Stijn 19ede730f6
working-with-buildx: wrap, remove experimental, and some updates
- remove the experimental banner
- moved the "install as default builder section under the install
  section
- wrapped lines to be ~80 chars
- created some links to reference pages

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-07 16:14:46 +02:00
Dawn-Docker 3c54d2ff9c
Update toc (#9819) 2019-11-08 08:13:40 -08:00
Robbert Klarenbeek 4be3d95bd1
Fix FROM command 2019-09-17 01:14:50 +02:00
usha-mandya cbc72297c6 Remove note format for experimental msg 2019-06-13 15:21:55 +01:00
usha-mandya 498ee7ab15 Add experimental msg in buildx docs 2019-06-12 19:14:46 +01:00
Usha Mandya 2038c26459
Remove include tag
Test whether the build works fine without the include tag.
2019-06-12 17:42:50 +01:00
usha-mandya 14277ff660 Fix tech review comments 2019-06-12 17:35:34 +01:00
usha-mandya 3143b900a9 update buildx metadata 2019-05-31 18:15:20 +01:00
usha-mandya 0602f630e4 1104 - Adding CLI plugin docs for Buildx 2019-05-31 17:41:01 +01:00