Re: [systemd-devel] Connect /usr/bin/init to docker container's STDOUT/STDIN

2022-10-02 Thread Nicola Mori
Nice tip, thank you! Nicola On 02/10/22 09:43, Barry wrote: On 30 Sep 2022, at 14:30, Nicola Mori wrote: # Save the long-running PID on file ps aux | grep "sleep infinity" | head -n 1 | awk '{ print $2 }' > /container-pipes-pid echo $! >/container-pipes-p

Re: [systemd-devel] Connect /usr/bin/init to docker container's STDOUT/STDIN

2022-09-30 Thread Nicola Mori
. Cheers, Nicola On 30/09/22 15:16, Lennart Poettering wrote: On Do, 29.09.22 19:42, Nicola Mori (nicolam...@aol.com) wrote: So I believe this problem might have been introduced by a systemd version subsequent to 219 and that hopefully it might be fixed somehow by means of e.g. proper configura

[systemd-devel] Connect /usr/bin/init to docker container's STDOUT/STDIN

2022-09-29 Thread Nicola Mori
Hi, sorry in advance if I'm posting to the wrong list. I need to run systemd inside a docker container and attach it to the container's stdin/stdout. The reason for this weird request is the following: 1) I need to use the container for running Gilab CI jobs 2) the software being tested needs