linux lxc containers - ghdrako/doc_snipets GitHub Wiki

lxc-create -n testcontainer -t Ubuntu  # create
lxc-start -n testcontainer             # start
lxc-attach -n testcontainer            # attach to execute command
lxc-stop -n testcontainer              # stop
lxc-destroy -n testcontainer           # destroy