Closed stefan-lange closed 11 months ago
tail -F /dev/null has the same effect as while true ... and keeps the container running.
tail -F /dev/null
while true ...
Tail requires less cpu time and is therefore 'greener' in marketing terms.
Tail
Based on quick benchmark:
tail -F /dev/null
has the same effect aswhile true ...
and keeps the container running.Tail
requires less cpu time and is therefore 'greener' in marketing terms.Based on quick benchmark: