#!/bin/sh
[ -n "$LOCAL_UID" -a -n "$LOCAL_GID" ] || {
    echo Define the environment variables LOCAL_UID and LOCAL_GID
    exit 1
}
groupadd -g $LOCAL_GID cerbero
useradd -d /home/cerbero -g cerbero -M -u $LOCAL_UID -s /bin/bash -G fuse cerbero
find /home/cerbero -xdev \! -path /home/cerbero/cerbero -exec chown cerbero:cerbero \{\} +
exec su -l cerbero


#!/bin/sh
[ -n "$LOCAL_UID" -a -n "$LOCAL_GID" ] || {
    echo Define the environment variables LOCAL_UID and LOCAL_GID
    exit 1
}
groupadd -g $LOCAL_GID cerbero
useradd -d /home/cerbero -g cerbero -M -u $LOCAL_UID -s /bin/bash -G fuse cerbero
find /home/cerbero -xdev \! -path /home/cerbero/cerbero -exec chown cerbero:cerbero \{\} +
su -l cerbero


Fix the container exiting suddenly
Fix the container exiting suddenly
