Skip to content

lxc template for creating container that mounts host filesystem

Notifications You must be signed in to change notification settings

tenforward/lxc-bind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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

About

lxc template for creating container that mounts host filesystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages