It's fixed by docker: https://github.com/moby/moby/pull/37665
forget this mail thanks
Sorry, one docker host machine using “19.03.3” works well with “/dev” + “—init”, we are still trying to see what really happened, docker version or os system etc, maybe docker fix that issue or something else.
By pass this mail, will back if we still encountered issue, thanks.
From: Larry Shen Sent: Tuesday, August 25, 2020 5:50 PM To: lava-users@lists.lavasoftware.orgmailto:lava-users@lists.lavasoftware.org Subject: About --init in docker library.
Hi,
I saw this change “docker: run containers with an init system”: https://git.lavasoftware.org/lava/lava/-/commit/e0bfef019992f9032d87e9edf9fd...
This makes UUU container function which directly mount “/dev” won’t work, see this: https://github.com/moby/moby/issues/37645
If possible this could be a optional one? You know, user don’t need it if he just run one process in one container & set that process as PID1. Furthermore, even user start multiple process in one container, he still could use some like next to fix in its dockerfile.
ENV TINI_VERSION v0.18.0 ADD https://github.com/krallin/tini/releases/download/%24%7BTINI_VERSION%7D/tinihttps://github.com/krallin/tini/releases/download/$%7bTINI_VERSION%7d/tini /tini RUN chmod +x /tini ENTRYPOINT ["/tini", "--"] CMD ["/root/entrypoint.sh"]