Working with snappy behind a ntlm proxy

Michael Vogt mvo at ubuntu.com
Mon Jan 26 12:35:57 UTC 2015


On Sat, Jan 24, 2015 at 12:08:18PM -0600, Joseph Winston wrote:
> At work, I must live behind a ntlm proxy and in the past I used some
> combination of cntlm (http://cntlm.sourceforge.net/) and adding HTTP_PROXY
> and HTTPS_PROXY entries to the Dockerfiles.  And if I was using vagrant, I
> added https://github.com/tmatilai/vagrant-proxyconf entries to my
> Vagrantfiles.
> 
> What is the recommend workflow for using snappy in an environment that
> requires ntlm?

"snappy install" will honor the http_proxy environment and it
currently uses libcurl for the downloading which supports ntlm. So the
pieces should be there, one gotcha is that sudo cleans the environment
so something like "sudo http_proxy=... snappy" must be used or it must
be set system-wide. Unfortunately I can not test my theory that it
will work as I don't have a ntlm proxy to test against.

Cheers,
 Michael



More information about the snappy-devel mailing list