Я пытаюсь создать новый контейнер Ubuntu LXC, используя lxc-create, но у меня возникают проблемы с прокси-сервером, значительно увеличивающим (> 1000 строк) создание контейнера.
lxc-create -n demo_cont1 -t ubuntu --logfile=demo_cont1.txt --logpriority=DEBUG
выдает следующее:
...
...
1119 Ign:12 http://archive.ubuntu.com/ubuntu xenial/main Translation-en_US
1120 Ign:14 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
1121 Err:16 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
1122 403 Use Proxy Server
...
...
1251 Reading package lists... Done
1252 W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
1253 N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
1254 N: See apt-secure(8) manpage for repository creation and user configuration details.
Журнал отладки:
lxc-create 20171212070515.944 ERROR lxc_container - lxccontainer.c:create_run_template:1295 - container creation template for demo_cont1 failed
lxc-create 20171212070515.946 INFO lxc_container - lxccontainer.c:container_destroy:2396 - Destroyed rootfs for demo_cont1
lxc-create 20171212070515.946 INFO lxc_container - lxccontainer.c:container_destroy:2412 - Destroyed directory for demo_cont1
lxc-create 20171212070515.946 ERROR lxc_create_ui - tools/lxc_create.c:main:318 - Error creating container demo_cont1
Я рассказал Ubuntu о прокси-сервере:
apt-get и wget работают нормально, вручную и загружают сотни пакетов до ошибки в lxc-create.
Есть ли другая настройка прокси? Система не имеет брандмауэра и имеет фиксированный маршрутизируемый IP-адрес.
Есть ли способ понять, что отличает этот запрос от других?