Настроил бридж к физическому интерфейсу, чтоб каждый контейнер работал в той же сети как и хост, сеть отлично работает. Но apt часто выдает ошибки типа:
# sudo apt-get update
...
Get:27 http://archive.ubuntu.com wily-updates/universe Translation-en [29.6 kB]
Err http://archive.ubuntu.com wily/universe amd64 Packages
Err http://archive.ubuntu.com wily/universe amd64 Packages
404 Not Found [IP: 91.189.91.24 80]
Fetched 14.6 MB in 8s (1710 kB/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/wily/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.24 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Причем http://archive.ubuntu.com/ubuntu/dists/wily/universe/binary-amd64/Packages.bz2 качается с контейнера отлично.
Установка некоторых пакетов в контейнерах сопровождается такими вот ошибками:
root@test:~# apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libglib2.0-0 libglib2.0-data libicu55 libssh2-1 libxml2 mc-data sgml-base shared-mime-info unzip xdg-user-dirs
xml-core
Suggested packages:
arj catdvi texlive-binaries dbview djvulibre-bin genisoimage gv imagemagick links w3m lynx odt2txt
poppler-utils python python-boto python-tz xpdf pdf-viewer zip sgml-base-doc debhelper
The following NEW packages will be installed:
libglib2.0-0 libglib2.0-data libicu55 libssh2-1 libxml2 mc mc-data sgml-base shared-mime-info unzip
xdg-user-dirs xml-core
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 7652 kB/11.9 MB of archives.
After this operation, 50.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ wily/main libicu55 amd64 55.1-4ubuntu1 [7652 kB]
Fetched 7652 kB in 1s (4887 kB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-4ubuntu1_amd64.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Вот описал свою проблему детально https://github.com/lxc/lxc/issues/744 . Никто не сталкивался с подобным?
PS. Это пробовал http://askubuntu.com/a/41618/217142