lxc-control
v1.0.0
Published
Control LXC containers easily from Node.js
Readme
lxc-control
Control LXC containers from Node.js with a simple API.
📦 Install
npm install lxc-control🚀 Usage
const lxc = require('lxc-control');
async function run() {
await lxc.action('create', {
name: 'mycontainer',
dist: 'alpine',
release: '3.19',
arch: 'amd64'
});
await lxc.action('start', { name: 'mycontainer' });
const info = await lxc.action('info', { name: 'mycontainer' });
console.log(info);
}Made By Ma4z
