[lxc-devel] [lxc/lxc] 8fbde7: tools: allow lxc-attach to undefined containers

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


  Branch: refs/heads/stable-2.1
  Home:   https://github.com/lxc/lxc
  Commit: 8fbde773bb23f9fe5d8b70a10d5dbcdbd9d9745d
      https://github.com/lxc/lxc/commit/8fbde773bb23f9fe5d8b70a10d5dbcdbd9d9745d
  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: 77e6caa81ddbac98a89a5e464f475b4e0df59b2c
      https://github.com/lxc/lxc/commit/77e6caa81ddbac98a89a5e464f475b4e0df59b2c
  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 #1876 from brauner/2017-10-27/tools_allow_undefined_containers_stable_2.1

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


Compare: https://github.com/lxc/lxc/compare/31546ced8a4c...77e6caa81ddb


More information about the lxc-devel mailing list