# s6-overlay-preinit **Repository Path**: TobyChow/s6-overlay-preinit ## Basic Information - **Project Name**: s6-overlay-preinit - **Description**: 定期从github官方仓库同步 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-16 - **Last Updated**: 2024-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # s6-overlay-preinit This is a small program that ensures the needed runtime directory for [`s6-overlay`](https://github.com/just-containers/s6-overlay) exists and is owned by the current user. This should enable `s6-overlay` users to use the `USER` directive in their dockerfiles. This binary needs the `SETUID` bit enabled so it can gain privileges to create the `/var/run/s6` directory. ## Usage `s6-overlay-preinit (prog)` This will: * Create `/var`. * Create `/var/run`. * Create `/var/run/s6`. * `chown` `/var/run/s6` to the current UID/GID (set if using `USER` directive). ## LICENSE ISC - see `LICENSE.md`