[OpenWrt-Devel] [PATCH 1/2] procd: add docker support

Petr Štetiar ynezz at true.cz
Thu May 23 08:16:15 EDT 2019

Paul Spooren <mail at aparcar.org> [2019-05-23 13:36:37]:

> No, thanks for the link. Seems that Docker now uses LXC anyway which

No more[1] :-)

 Remove LXC support.

 The LXC driver was deprecated in Docker 1.8.  Following the deprecation
 rules, we can remove a deprecated feature after two major releases. LXC won't
 be supported anymore starting on Docker 1.10.

> results in the availability of container=lxc in /proc/1/environ:
>     root at df9992e4c518:/# cat /proc/1/environ
> HOSTNAME=df9992e4c518SHLVL=1HOME=/rootcontainer=lxcTERM=xtermPATH=/usr/sbin:/usr/bin:/sbin:/binPWD=/root at df9992e4c518:/#

You're probably just using some already obsolete version of docker-ce.

> Thanks, I'll look into that. As I understand, the containers don't need
> *init*, but the deactivation would be required on run time, not?

probably mix of both, but I didn't looked at this in more detail, just your
proposed change didn't looked correct to me.

1. https://github.com/docker/cli/commit/c5ed875bd93f307b88c146ef593d69108ab126b6

-- ynezz

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list