mirror of synced 2026-11-21 09:26:28 +03:00
Laurent Bercot 008f87e988 - Initial changes discussed with Gorka
- Dependencies: latest execline/s6/s6-portable-utils at this time
 - Interactive CMDs should now work properly with or without terminals. If not, play with s6-setsid a bit more.
 - The scandir is now in /var/run/s6/service, because it gets written into at run-time
 - User service directories are now listed in /etc/services.d and will be *copied* to /var/run/s6/service during init-stage2
 - Yeah, I really hate writing to /, and you should hate it, too.
 - Init order:
   * our own services in /etc/s6/service are copied to /var/run/s6/service (stage 1)
   * s6-svscan is run
   * scripts in /etc/cont-init.d are run (stage 2)
   * services in /etc/services.d are copied to /var/run/s6/service and picked up by s6-svscan
   * If a CMD was given, it is run.
   i.e. the whole stage 2 is executed whether a CMD was given or not, so CMDs are always executed in a properly initted environment.
 - Since all the user stuff is started in stage 2, we can guarantee all the dependencies for stage 1, so no fix-attrs in stage 1. Stage 1 is now extremely short, as it should be.
 - Can't escape the fix-attrs in stage 2 though, but provided a chunk of execline to do the functionality. (Probably very slow.)
 - Plus a bunch of tiny fixes, mostly cosmetic.
2015-03-07 10:24:12 +00:00
2015-03-05 16:49:25 +01:00
2015-03-03 13:55:08 -06:00
2015-02-28 18:08:46 +01:00

docker build .                            | \
tail -n 1 | awk '{ print $3; }'           | \
xargs docker run --rm -v `pwd`/dist:/dist
S
Description
s6 overlay для контейнеров (включает execline, s6-linux-utils и пользовательскую инициализацию)
Readme ISC
780 KiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 56.7%
Makefile 43.3%