Skip to content

Instantly share code, notes, and snippets.

@erangaeb
Last active March 31, 2016 14:34
Show Gist options
  • Save erangaeb/c8d3ecf755989e754007b7faadcafcb5 to your computer and use it in GitHub Desktop.
Save erangaeb/c8d3ecf755989e754007b7faadcafcb5 to your computer and use it in GitHub Desktop.
Create lxc container
# command
sudo lxc-create -n <container-name> -t <template>
# example
sudo lxc-create -n mongodb -t ubuntu
# mongodb is the container name and ubuntu is the template
# list of available templates at /usr/share/lxc/templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment