Ubuntu 15.04 LXD LXC containers into a python development env

Опубликовано: 07 Октябрь 2024
на канале: Dan Sheffner
4,018
23

This shows you how to configure a lxd container with python programming tools. Consider everything alpha.

Link:
https://insights.ubuntu.com/2015/04/2...
http://github.com/thesheff17/yore/

Commands:
sudo apt-get install lxd
/etc/init.d/lxd status
/etc/init.d/lxd start

lxc commands
lxc launch images:ubuntu/trusty/amd64 test01
lxc stop test01
lxc delete test01

loops:
for i in {10..25}; do (lxc launch images:ubuntu/trusty/amd64 test$i && echo "thread $i finished..." &); done
for i in {10..25}; do (lxc stop test$i && lxc delete test$i &); done