aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRichard Mortier <mort@cantab.net>2019-12-29 19:25:47 +0100
committerRichard Mortier <mort@cantab.net>2019-12-29 19:26:54 +0100
commit5be366fee521c47bca4b4fc9966a53cadef71423 (patch)
treeaa19e035114742575f856932614d896493d5d696 /README.md
parent4fe3e283af7a4708dee1d701e094358b551a322f (diff)
downloaddocker-abuild-5be366fee521c47bca4b4fc9966a53cadef71423.tar.bz2
docker-abuild-5be366fee521c47bca4b4fc9966a53cadef71423.tar.xz
readme: fix instructions for multiarch support
closes #51 Signed-off-by: Richard Mortier <mort@cantab.net>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7d7e483..ee3d1a1 100644
--- a/README.md
+++ b/README.md
@@ -40,12 +40,13 @@ On invocation from within an `aports/` tree, the script will determine the root
Per normal usage, if you use the `-K` switch, then the build, source, etc directories will be left alone on completion. If you then invoke as `dabuild build`, then the source will not be re-fetched -- useful when you wish to edit the source to debug a package build.
-## Problems with multi-arch support
+## Configure multi-arch support
Docker-for-Mac comes with multi-arch support (by configuring `binfmt_misc` in the Linux VM to use `qemu-$ARCH-static`) out of the box. If you are running on native Docker for Linux, then you can install similar support via
``` shell
-docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+docker run --rm --privileged \
+ multiarch/qemu-user-static --reset --persistent yes --credential yes
```
Note that this may reconfigure any existing `binfmt_misc` setup that you have. See <https://github.com/multiarch/qemu-user-static> for more detail.