Last Updated:

LXC container directory related

Jack Chan Container

Table of Contents

Intro

File system related

Default: /var/cache/lxc

  1. lxc.lxcpath in /etc/lxc/lxc.conf, consult man lxc.system.conf for details.
  2. lxc-* tools accepts -P flag to specify alternate container path.
  3. lxc-create -B dir backing store has optional --dir ROOTFS flag.

 

Ref: https://stackoverflow.com/questions/25286546/change-lxc-container-directory 

 

Network related

create and configure a network