1 2 3 4 5 6 7 8 9
# Define UID/GID mappings for unprivileged contatiners usermod --add-subuids 600100001-600165537 root usermod --add-subgids 600100001-600165537 root if [ $1 = 2 ]; then # Upgrade PID=$(cat /tmp/one-monitord-client.pid 2> /dev/null) [ -n "$PID" ] && kill $PID 2> /dev/null || : fi