I am having trouble getting unprivileged containers to start on boot of the host.
From lxc-ls -f I confirmed autostart is YES and they are in the onboot group.
cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
cat /etc/default/lxc |grep LXC_AUTO=
LXC_AUTO="true"
lxc-ls -f
NAME STATE IPV4 IPV6 AUTOSTART
-------------------------------------------------
ops-001-dc4 STOPPED - - YES (onboot)
cat .local/share/lxc/ops-001-dc4/config
# Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template:
# For additional config options, please look at lxc.container.conf(5)
# Distribution configuration
lxc.include = /usr/share/lxc/config/centos.common.conf
lxc.include = /usr/share/lxc/config/centos.userns.conf
lxc.arch = x86_64
# Container specific configuration
lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536
lxc.rootfs = /home/velvet/.local/share/lxc/ops-001-dc4/rootfs
lxc.utsname = ops-001-dc4
lxc.group = onboot
lxc.start.auto = 1
# Network configuration
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = virbr0
lxc.network.hwaddr = 00:16:3e:24:21:58
lxc.network.ipv4 = 10.24.7.201/21
lxc.network.ipv4.gateway = 10.24.0.1
The container seems fine otherwise. Wanting to move to using unprivileged containers for security so they are not running as root ID.
Is this the correct place for assistance with an issue like this?
From lxc-ls -f I confirmed autostart is YES and they are in the onboot group.
cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
cat /etc/default/lxc |grep LXC_AUTO=
LXC_AUTO="true"
lxc-ls -f
NAME STATE IPV4 IPV6 AUTOSTART
-------------------------------------------------
ops-001-dc4 STOPPED - - YES (onboot)
cat .local/share/lxc/ops-001-dc4/config
# Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template:
# For additional config options, please look at lxc.container.conf(5)
# Distribution configuration
lxc.include = /usr/share/lxc/config/centos.common.conf
lxc.include = /usr/share/lxc/config/centos.userns.conf
lxc.arch = x86_64
# Container specific configuration
lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536
lxc.rootfs = /home/velvet/.local/share/lxc/ops-001-dc4/rootfs
lxc.utsname = ops-001-dc4
lxc.group = onboot
lxc.start.auto = 1
# Network configuration
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = virbr0
lxc.network.hwaddr = 00:16:3e:24:21:58
lxc.network.ipv4 = 10.24.7.201/21
lxc.network.ipv4.gateway = 10.24.0.1
The container seems fine otherwise. Wanting to move to using unprivileged containers for security so they are not running as root ID.
Is this the correct place for assistance with an issue like this?