Difference between revisions of "CentOS 7.x lxc container configuration"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="lxc container configuration">CentOS_7.x_lxc|lxc</yambe:breadcrumb> =CentOS 7.x lxc container configuration= ==Lxc container autostart== To configure...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="lxc container configuration">CentOS_7.x_lxc|lxc</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x virtualization|Virtualization]] > [[CentOS 7.x lxc|Lxc]] > [[CentOS 7.x lxc container configuration]]
=CentOS 7.x lxc container configuration=


==Lxc container autostart==
==Lxc container autostart==
Line 12: Line 11:
Refer:
Refer:
* https://serverfault.com/questions/620709/how-to-auto-start-unprivileged-lxc-containers
* https://serverfault.com/questions/620709/how-to-auto-start-unprivileged-lxc-containers
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x virtualization|Virtualization]] > [[CentOS 7.x lxc|Lxc]] > [[CentOS 7.x lxc container configuration]]

Latest revision as of 08:57, 25 August 2022

Home > CentOS > CentOS 7.x > Virtualization > Lxc > CentOS 7.x lxc container configuration

Lxc container autostart

To configure container for autostart edit '/var/lib/lxc/<container>/config and use:

     lxc.start.auto = 1
     lxc.start.delay = 5

Refer:



Home > CentOS > CentOS 7.x > Virtualization > Lxc > CentOS 7.x lxc container configuration