[lxc-devel] [lxc/lxc] 2c5f2e: lxc-destroy: deal with ephemeral containers

GitHub noreply at github.com
Wed Feb 10 18:34:52 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2c5f2edeb91100b8debfec90624cd1fe20ee5a8d
      https://github.com/lxc/lxc/commit/2c5f2edeb91100b8debfec90624cd1fe20ee5a8d
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M src/lxc/lxc_destroy.c
    M src/lxc/start.c

  Log Message:
  -----------
  lxc-destroy: deal with ephemeral containers

- Ephemeral containers are destroyed on shutdown so we do not destroy them.
- Destroy ephemeral containers with clones: first destroy all the clones, then
  destroy the container.
- Ephemeral containers with snapshots cannot be easily handled but we can
  probably trust that no one will try to make snapshots of an ephemeral
  container.

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>


  Commit: bad548de3ba42d501fe8604debadcce4031dda34
      https://github.com/lxc/lxc/commit/bad548de3ba42d501fe8604debadcce4031dda34
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M src/lxc/lxc_destroy.c
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #813 from brauner/2016-02-01/lxc_destroy_ephemeral

lxc-destroy: deal with ephemeral containers


Compare: https://github.com/lxc/lxc/compare/cd30b4fa22e6...bad548de3ba4


More information about the lxc-devel mailing list