#!/usr/bin/env bash
set -e # halt script on error

docker build -t rsyslog-forwarder .
docker run --rm -d -p 514:514/udp --name forwarder rsyslog-forwarder

#!/usr/bin/env bash
set -e # halt script on error

docker build -t rsyslog-forwarder .
docker run --rm -d -p 514:514/udp --name forwarder rsyslog-forwarder
sleep 10

Add pause to allow docker to fully start
Add pause to allow docker to fully start
