Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 472 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 472 Bytes

lxc-bind

lxc-bind is the template script for LXC.

Installation

Copy lxc-bind to templates directory. For example:

cp lxc-bind /usr/share/lxc/templates

Usage

Specify as the value of '-t' option of lxc-create.

lxc-create -t bind -n test -- [-b directory] [command]

Template options

  • -b/--bind : the directory or file that you want to bind mount
  • command : command that you want to run on a container