Skip to content
/ cx Public
forked from troglobit/cx

Small wrapper for basic lxc tasks

License

Notifications You must be signed in to change notification settings

anleko/cx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cx is a script wrapper for basic things you want to do with lxc. It has many intentional similarities to the lxd project, but has none of the dependencies.

Most cx commands take extra options that are forwarded to the lxc counterpart. E.g.,

cx start foo -l debug -o /tmp/foo

Calls

lxc-start -n foo -l debug -o /tmp/foo

For systems with Finit, cx automatically creates service .conf for new containers in /etc/finit.d/. Stopping and starting containers can then be done using:

initctl start container:foo
initctl stop  container:foo

This project was once part of myLinux, intended to run small containers built with myRootFS, but it can be used anywhere.

About

Small wrapper for basic lxc tasks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 91.6%
  • Makefile 8.4%