...
Code Block | ||
---|---|---|
| ||
# stop
sudo lxc-stop --name my-container
# destroy
sudo lxc-destroy --name my-container
# run a command inside of a containers (good for orchestration)
# In this example, free command is run inside of the container.
sudo lxc-attach -n my-container -- free |
...