#!/bin/bash export APPL_HOME_DIR="$1" shift export APPL_NAME="$1" shift export USER_ID=$(id -u) export GROUP_ID=$(id -g) export GROUP_NAME=$(id -gn) docker compose run --rm default /sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} ${APPL_HOME_DIR}/${APPL_NAME} $*