Flaxplax

Personal documentation

Commands

# create a container
lxc-create -t download -n my-container
# you will get a interactive menu to choose distro, version and architecture

# start container
lxc-start -n my-container -d

# show container info
lxc-info -n my-container

# list container's
lxc-ls -f

# attach to container with shell
lxc-attach -n my-container bash

# stop container
lxc-stop -n my-container

# destroy container
lxc-destroy -n my-container
Last updated on 18 Sep 2021
Published on 18 Sep 2021