Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker_notes:init [2025-06-15 Sun wk24 11:42] – [alias in S6 init] baumkpdocker_notes:init [2025-09-06 Sat wk36 10:15] (current) – [References] baumkp
Line 107: Line 107:
  
 =====alias in S6 init===== =====alias in S6 init=====
-I like the alias command to change some default CLI command flags, in particular ls => ls -la, which I normally call ll.  I had no success using the alias command in S6 init scripts. I found the following solution, using the s6 pre_start_script to add a link ''ll.sh'' script in to the ''/bin'' directory.+I like the alias command to change some default CLI command flags, in particular ls => ls -la, which I normally call ll.  I had no success using the alias command in S6 init scripts. I found the following solution, by using the s6 pre_start_script to add a link ''ll.sh'' script in to the ''/bin'' directory.
  
 <code bash>#get my favourite alias working in Alpine sh has been a pain <code bash>#get my favourite alias working in Alpine sh has been a pain
Line 116: Line 116:
 exec ls -la "$@"</code> exec ls -la "$@"</code>
 =====References===== =====References=====
-  *[[https://github.com/just-containers/s6-overlay| just-containers/s6-overlay]] (**Version 3.2.1.0** as of 2025-05-07, last checked 2025-05-21), note only a minor change since previous version+  *[[https://github.com/just-containers/s6-overlay| just-containers/s6-overlay]] (**Version 3.2.1.0** as of 2025-05-07, last checked 2025-09-06), note only a minor change since previous version
   *[[https://skarnet.org/software/s6-rc/s6-rc-compile.html|The s6-rc-compile program]] Describes the functionality of the S6-rc system   *[[https://skarnet.org/software/s6-rc/s6-rc-compile.html|The s6-rc-compile program]] Describes the functionality of the S6-rc system
   *[[https://forum.level1techs.com/t/easy-to-follow-beginner-guide-on-s6-starter-pack/178411|Easy to follow Beginner Guide on s6 Starter Pack]]   *[[https://forum.level1techs.com/t/easy-to-follow-beginner-guide-on-s6-starter-pack/178411|Easy to follow Beginner Guide on s6 Starter Pack]]