Unverified Commit 88146b2f authored by boklm's avatar boklm
Browse files

Add a README.BUILD_ERRORS file listing some common errors

parent 465a7759
......@@ -164,3 +164,10 @@ Cleaning obsolete files and containers images
There will be a script to clean old build files and containers that are
no longer used, but it has not been added yet.
Common Build Errors
-------------------
You can look at the README.BUILD_ERRORS file for a list of common build
errors and their solutions.
This file lists some common build errors and their solutions.
Error starting remote
---------------------
If you have an error like this:
----
Error: Error starting remote:
/bin/sh: 1: adduser: not found
Segmentation fault (core dumped)
----
You might be having this issue:
https://github.com/docker/docker/issues/28705
When the kernel is configured with CONFIG_LEGACY_VSYSCALL_NONE, running
Debian Wheezy containers fails with a segfault. This should be fixed by
adding "vsyscall=emulate"to the kernel cmdline.
If you are building inside Qubes, you can change the kernel cmdline for
the VM you are using with something like this in dom0:
----
$ qvm-pref --get [vmname] kernelopts
nopat
$ qvm-pref --set [vmname] kernelopts 'nopat vsyscall=emulate'
----
tmp partition is full
---------------------
If your /tmp partition is small, you will get a 'No space left on device'
error during the build. To select an other directory with more space
available to store temporary files, you can define the TMPDIR environment
variable:
----
$ mkdir /home/user/tmp
$ export TMPDIR=/home/user/tmp
----
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment