[lxc-devel] [lxc/lxc] 5e5129: tools: allow lxc-attach to undefined containers

GitHub noreply at github.com
Mon Oct 30 17:22:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 5e5129d75140fdf918b31a766f5ad891632548a9
      https://github.com/lxc/lxc/commit/5e5129d75140fdf918b31a766f5ad891632548a9
  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: 82df9e1e3ab568616e19fa22f2bddb476c331b0a
      https://github.com/lxc/lxc/commit/82df9e1e3ab568616e19fa22f2bddb476c331b0a
  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 #1875 from brauner/2017-10-27/tools_allow_undefined_containers

tools: allow lxc-attach to undefined containers


Compare: https://github.com/lxc/lxc/compare/af949cc1938f...82df9e1e3ab5


More information about the lxc-devel mailing list