[lxc-users] lxc-create through socks proxy
Julien
julien.malik+lxc at paraiso.me
Tue Mar 10 15:37:09 UTC 2015
Hi,
I fail to lxc-create containers with the download template through a
SOCKS proxy.
I usually use tsocks to provide socks support to my application.
tsocks uses the LD_PRELOAD trick to provide socks support to application
that do not natively support it.
lxc-create might not like it.
I get these errors :
$ tsocks lxc-create -t download -n trusty2
15:52:06 libtsocks(14728): Unresolved symbol: connect
15:52:07 libtsocks(14728): Unresolved symbol: close
15:52:07 libtsocks(14729): Unresolved symbol: connect
15:52:07 libtsocks(14729): Unresolved symbol: close
15:52:07 libtsocks(14736): Unresolved symbol: connect
15:52:07 libtsocks(14736): Unresolved symbol: close
15:52:07 libtsocks(14742): Unresolved symbol: connect
15:52:07 libtsocks(14742): Unresolved symbol: close
15:52:07 libtsocks(14748): Unresolved symbol: connect
15:52:07 libtsocks(14748): Unresolved symbol: close
Setting up the GPG keyring
And then it hangs at that point.
Any advice on how to run lxc-create through a SOCKS proxy ?
By chance, I manage to create them by setting the http_proxy env var,
but I would prefer to use a socks proxy.
Thanks,
Julien
More information about the lxc-users
mailing list