This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
технология_lxc [2020/06/23 18:38] val [Запуск/мониторинг/остановка контейнера] |
технология_lxc [2022/01/31 16:20] val [Технология LXC] |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[http://ru.wikipedia.org/wiki/LXC|LXC wiki]] | * [[http://ru.wikipedia.org/wiki/LXC|LXC wiki]] | ||
* [[https://help.ubuntu.com/lts/serverguide/lxc.html|Ubuntu-Руководство по Ubuntu Server-Виртуализация]] | * [[https://help.ubuntu.com/lts/serverguide/lxc.html|Ubuntu-Руководство по Ubuntu Server-Виртуализация]] | ||
+ | * [[https://linuxcontainers.org/lxc/getting-started/|LXC Getting started]] | ||
Line 31: | Line 32: | ||
gateway 192.168.X.1 | gateway 192.168.X.1 | ||
| | ||
- | # bridge_ports eth0 | + | bridge_ports eth0 |
- | # bridge_ports enp0s3 | + | |
# bridge_stp off | # bridge_stp off | ||
Line 103: | Line 103: | ||
</code><code> | </code><code> | ||
... | ... | ||
- | #lxc.network.link = empty | + | |
lxc.net.0.type = veth | lxc.net.0.type = veth | ||
lxc.net.0.link = br0 | lxc.net.0.link = br0 | ||
Line 111: | Line 111: | ||
lxc.start.auto = 1 | lxc.start.auto = 1 | ||
- | ... | ||
</code><code> | </code><code> | ||
root@server:~# lxc-ls -f | root@server:~# lxc-ls -f |