[lxc-devel] [lxc/lxc] 0b7d62: tools: allow lxc-attach to undefined containers

GitHub noreply at github.com
Mon Oct 30 17:23:09 UTC 2017


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: 0b7d62079518774c5c3776eebbb4692456296d75
      https://github.com/lxc/lxc/commit/0b7d62079518774c5c3776eebbb4692456296d75
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  tools: allow lxc-attach to undefined containers

For example the following sequence is expected to work:

lxc-start -n containerName -f /path/to/conf \
-s 'lxc.id_map = u 0 100000 65536' \
-s 'lxc.id_map = g 0 100000 65536' \
-s 'lxc.rootfs = /path/to/rootfs' \
-s 'lxc.init_cmd = /path/to/initcmd'

lxc-attach -n containerName

Closes #984.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 3feb8712a7f95c24569b2c17bc8ac3de348ebb44
      https://github.com/lxc/lxc/commit/3feb8712a7f95c24569b2c17bc8ac3de348ebb44
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-10-30 (Mon, 30 Oct 2017)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  Merge pull request #1877 from brauner/2017-10-27/tools_allow_undefined_containers_stable_2.0

stable-2.0: tools: allow lxc-attach to undefined containers


Compare: https://github.com/lxc/lxc/compare/5dafcdd9bbc1...3feb8712a7f9


More information about the lxc-devel mailing list