Questions tagged [s6]

9 questions
2
votes
0 answers

Terminating a Docker container with 1 process in S6 Overlay takes > 10 sec

I'm frustrated at the time it takes my container to shut down when using the S6 overlay service. As far as i understand, s6 should run as PID 1 and should issue the SIGTERM to all children processes (postfix) when you issue docker stop. I…
bmccormick
  • 75
  • 1
  • 8
2
votes
1 answer

s6 overlay s6-svc supervisor not listening

root@0cd6bfb7e363 app]# s6-svc /etc/services.d/uwsgi/ s6-svc: fatal: unable to control /etc/services.d/uwsgi/: supervisor not listening [root@0cd6bfb7e363 app]# s6-svc -r /etc/services.d/uwsgi/ s6-svc: fatal: unable to control…
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
1
vote
0 answers

S6-overlay USER directive

Im trying to build a new base image with s6-overlay that includes PHP-FPM and Nginx. Overall the image is running fine and both processes are running. However when i log into the container i am root which is something that i overall do not want. At…
Dirkos
  • 488
  • 1
  • 10
  • 33
0
votes
1 answer

S6 oneshot script, if: fatal: unterminated block

I'm using S6 v3 with a working configuration until the latest addition, which I'm stuck with. I'm trying to check whether an env. variable is certain value, so I can execute a command. Here's what I have: #!/usr/bin/with-contenv sh if [["dev" =…
alexbusu
  • 701
  • 4
  • 13
0
votes
1 answer

sh: ./filebeat: not found in Docker container

Im trying to run filebeat in a docker container with the s6 overlay. When s6 executes or when i manually execute the filebeat binary i get sh: ./filebeat: not found This is my Dockerfile: FROM alpine:3.15 ENV AM_I_IN_A_DOCKER_CONTAINER Yes COPY…
woldgrep
  • 97
  • 2
  • 12
0
votes
0 answers

Troubles enabling hid with android custom kernel

i hope you're doing all good, To be short i installed kali-nethunter on my device : Samsung Galaxy S6 (exynos7420) (SM-G920W8) running android 7.0 (nougat) rooted with TWRP and Magisk Kernel version 3.10.61 , architecture aarch64 (which i believe is…
0
votes
1 answer

Very slow login - Artix linux, s6

I have just installed artix with s6 init, and it takes so many time (about 1m) to perform login in tty. But it happens only for primary session of the tty. I mean, if I try to access another user through su and enter his password - it is going…
LiaVa
  • 198
  • 1
  • 10
0
votes
1 answer

Run execlineb when container start failed. Docker for windosw

I'm trying to run simple script inside docker container after start. Initialy previous developer decided to use s6 inside. #!/usr/bin/execlineb -P foreground { sleep 2 } nginx When i'm trying to start i'm gettings this message execlineb: usage:…
0
votes
1 answer

Why do I get "s6-log: fatal: unable to open_append /run/service/app/lock: Not a directory"?

I'm learning about s6 and I've come to a point where I want to use s6-log. I have the following Dockerfile FROM alpine:3.10 RUN apk --no-cache --update add s6 WORKDIR /run/service COPY \ ./rootfs/run \ ./rootfs/app /run/service/ CMD…
Patryk
  • 22,602
  • 44
  • 128
  • 244