1.主机与容器之间的端口转发
https://discuss.linuxcontainers.org/t/forward-port-80-and-443-from-wan-to-container/2042
2.LXC设置代理
lxc config set core.proxy_http http://squid01.internal:3128lxc config set core.proxy_https http://squid01.internal:3128lxc config set core.proxy_ignore_hosts image-server.local
