diff --git a/scripts/bin/container-init b/scripts/bin/container-init index df05f11..4180654 100755 --- a/scripts/bin/container-init +++ b/scripts/bin/container-init @@ -1,5 +1,11 @@ #!/bin/sh +# Clean up /tmp, just in case there is some leftover files from previous run and `--tmpfs` is not specified. +# Without this cleanup or `--tmpfs`, the container will no longer start after 10 startups. +rm -rf /tmp +mkdir /tmp +chmod a+rw /tmp + set -eu # Create additional groups