From: W. Trevor King Date: Fri, 13 Dec 2013 16:48:02 +0000 (-0800) Subject: posts:docker: Link to LXC CONFIG_MEMCG fix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b23ec5ba6d236be7f3e4479e0c816b780f4168da;p=blog.git posts:docker: Link to LXC CONFIG_MEMCG fix --- diff --git a/posts/Docker.mdwn b/posts/Docker.mdwn index 49a7643..966415c 100644 --- a/posts/Docker.mdwn +++ b/posts/Docker.mdwn @@ -43,8 +43,10 @@ and `CONFIG_MACVLAN`. There's also the convenient `lxc-checkconfig` script distributed with [app-emulation/lxc][lxc], which pointed out the need for `CONFIG_CGROUP_MEM_RES_CTLR` (renamed to `CONFIG_MEMCG` in [c255a45 (memcg: rename config variables, 2012-07-31)][c255a45], -released in Linux v3.6) and `CONFIG_VLAN_8021Q`. On top of those, -`app-emulation/docker` recommended `CONFIG_BRIDGE`, +released in Linux v3.6, `lx-checkconfig` was updated in [c93c7b1, Fix +checkconfig to handle kernel memory cgroup name change, +2012-11-14][c93c7b1], released in LXC v0.9.0) and `CONFIG_VLAN_8021Q`. +On top of those, `app-emulation/docker` recommended `CONFIG_BRIDGE`, `CONFIG_NETFILTER_XT_MATCH_ADDRTYPE`, `CONFIG_NF_NAT`, `CONFIG_NF_NAT_NEEDED`, `CONFIG_IP_NF_TARGET_MASQUERADE` (since [045eb9f (another necessary kernel flag, 2013-12-09)][045eb9f], in a @@ -324,6 +326,7 @@ which it can use to connect to `redis` container. You can also use [overlay]: https://github.com/tianon/docker-overlay/ [lxc]: http://lxc.sourceforge.net/ [c255a45]: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c255a458055e459f65eb7b7f51dc5dbdd0caf1d8 +[c93c7b1]: https://github.com/lxc/lxc/commit/c93c7b1a0b0d4548780b9c22fb9ab907783caad1 [045eb9f]: https://github.com/tianon/docker-overlay/commit/045eb9f54bbfad07657ca1dafeb84d56c56fdbea [866-wtk]: https://github.com/dotcloud/docker/issues/866#issuecomment-30190904 [archived]: https://index.docker.io/