2018-09-04 21:42:26 +02:00
|
|
|
# Hostname
|
2018-09-04 22:13:08 +02:00
|
|
|
lxc.uts.name = build
|
2018-09-04 21:42:26 +02:00
|
|
|
|
|
|
|
# Network
|
|
|
|
lxc.net.0.type = veth
|
|
|
|
lxc.net.0.link = lxcbr0
|
|
|
|
lxc.net.0.flags = up
|
|
|
|
lxc.net.0.ipv4.address = 172.17.0.2/16
|
|
|
|
lxc.net.0.ipv4.gateway = auto
|
|
|
|
|
|
|
|
# Volumes
|
2018-09-04 22:45:52 +02:00
|
|
|
lxc.rootfs.path = /var/lib/lxc/shared/alpine
|
2018-09-04 21:42:26 +02:00
|
|
|
|
|
|
|
# Mounts
|
2018-09-04 22:13:08 +02:00
|
|
|
lxc.mount.entry = /etc/hosts etc/hosts none bind 0 0
|
|
|
|
lxc.mount.entry = /etc/resolv.conf etc/resolv.conf none bind 0 0
|
2018-09-04 21:42:26 +02:00
|
|
|
|
|
|
|
# Halt
|
|
|
|
lxc.signal.halt = SIGTERM
|
|
|
|
|
|
|
|
# Other
|
|
|
|
lxc.arch = x86_64
|
|
|
|
lxc.cap.drop = sys_admin
|
|
|
|
lxc.include = /usr/share/lxc/config/alpine.common.conf
|