A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
16 lines
524 B
Bash
Executable File
16 lines
524 B
Bash
Executable File
#!/bin/bash
|
|
|
|
installDockerRootlessUser()
|
|
{
|
|
if [[ $CFG_DOCKER_INSTALL_TYPE == "rootless" ]]; then
|
|
if id "$CFG_DOCKER_INSTALL_USER" &>/dev/null; then
|
|
isSuccessful "User $CFG_DOCKER_INSTALL_USER already exists."
|
|
else
|
|
# If the user doesn't exist, create the user
|
|
local result=$(sudo useradd -s /bin/bash -d "/home/$CFG_DOCKER_INSTALL_USER")
|
|
checkSuccess "Creating $CFG_DOCKER_INSTALL_USER User."
|
|
updateDockerInstallPassword;
|
|
fi
|
|
fi
|
|
}
|