yakshaveinc / linux

software engineering for Linux projects
The Unlicense
1 stars 3 forks source link

bin/lxd-runin.sh: Mount and run CWD in LXD #19

Closed techtonik closed 5 years ago

techtonik commented 5 years ago

Convenient way to run current project checkout in isolated environment.

It creates LXD container with the same operating system as the host, names it after the current dir, mounts the dir into /root subdir inside the countainer, and runs the bash there.