On Mac /bin/echo -e "<control chars>" prints out -e <uninterpreted control chars> to the terminal. This seems to happen in the latest
Debian image too. Use printf for compatibility across both and
proper colouration.
Check that POSITIONAL has some elements before trying to set with
it, to avoid unbound variable error with set -o nounset.
Remove cgroup sharing from host, and make container privileged, to
allow nodes to spin up with cgroupv2. Docker > 20.10 will
automatically create a private cgroup slice in this case.
/bin/echo -e "<control chars>"
prints out-e <uninterpreted control chars>
to the terminal. This seems to happen in the latest Debian image too. Useprintf
for compatibility across both and proper colouration.POSITIONAL
has some elements before trying toset
with it, to avoidunbound variable
error withset -o nounset
.