Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:init [2025-06-08 Sun wk23 09:45] – [Docker init Systems] baumkp | docker_notes:init [2025-09-06 Sat wk36 10:15] (current) – [References] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
======Docker init Systems====== | ======Docker init Systems====== | ||
There are a number of init systems used on docker containers, many are the defaults that ship with the standard Linux distributions, | There are a number of init systems used on docker containers, many are the defaults that ship with the standard Linux distributions, | ||
Line 105: | Line 105: | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
+ | |||
+ | =====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, by using the s6 pre_start_script to add a link '' | ||
+ | |||
+ | <code bash># | ||
+ | /bin/ln -s / | ||
+ | |||
+ | Where '' | ||
+ | <code bash># | ||
+ | exec ls -la " | ||
=====References===== | =====References===== | ||
- | *[[https:// | + | *[[https:// |
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// |