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.
This commit is contained in:
Paul Kinsky 2017-01-26 15:13:45 -08:00 committed by Graham Christensen
parent da33c8a19d
commit 2d78767973
No known key found for this signature in database
GPG key ID: 06121D366FE9435C

View file

@ -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>