Auto-update Docker images

A little script for updating a Docker image, using Uptime Kuma as an example.

#!/bin/bash
set -e

docker pull louislam/uptime-kuma:1
docker stop kuma
docker rm kuma
docker run -d --restart=always -p 8088:3001 -v /home/docker/kuma:/app/data --name kuma louislam/uptime-kuma:1