summaryrefslogtreecommitdiffstats
path: root/doc/functions.xml
diff options
context:
space:
mode:
authorPaul Kinsky <pkinsky@gmail.com>2017-01-26 15:13:45 -0800
committerGraham Christensen <graham@grahamc.com>2017-02-20 22:24:54 -0500
commit2d78767973aa98861cd87f423eb2b54ea1eb1659 (patch)
treeaabed5d9bc699549a90132268663f691445e66f8 /doc/functions.xml
parentda33c8a19d97711d213789cf49c8b7c483beb18f (diff)
Add tips for resolving https issues in containers
I ran into some issues making HTTPS requests from a container built with buildImage. I've added notes with tips for resolving similar issues.
Diffstat (limited to 'doc/functions.xml')
-rw-r--r--doc/functions.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/functions.xml b/doc/functions.xml
index 5c654ffb9562..602d419a1803 100644
--- a/doc/functions.xml
+++ b/doc/functions.xml
@@ -523,6 +523,17 @@
It is possible to inspect the arguments with which an image was built
using its <varname>buildArgs</varname> attribute.
</para>
+
+
+ <para>
+ If you see errors similar to <literal>getProtocolByName: does not exist (no such protocol name: tcp)</literal>
+ you may need to add <literal>pkgs.iana_etc</literal> to <varname>contents</varname>.
+ </para>
+
+ <para>
+ If you see errors similar to <literal>Error_Protocol ("certificate has unknown CA",True,UnknownCa)</literal>
+ you may need to add <literal>pkgs.cacert</literal> to <varname>contents</varname>.
+ </para>
</section>