Skip to content

Instantly share code, notes, and snippets.

@dimzak
Last active December 19, 2017 22:18
Show Gist options
  • Save dimzak/8cfd21b666f8a12a7938e84b3c1420ec to your computer and use it in GitHub Desktop.
Save dimzak/8cfd21b666f8a12a7938e84b3c1420ec to your computer and use it in GitHub Desktop.
LXC / LXD cheatsheet

Delete lxd lxc completely to re run lxd init

  • Remove containers
    lxc list
    lxc stop CONTAINER_NAME
    lxc delete CONTAINER_NAME

  • Remove images
    lxc image list
    lxc image delete FINGERPRINT

  • Remove configs
    lxc config show
    lxc configu unset PROPERTY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment