#!/bin/bash
#
# This script is designed to be run inside the container
#
set -eo pipefail

# run the service in the foreground
cd /docker-registry
./setup-configs.sh
sudo -E -u registry ./run.sh
