#!/bin/bash

containers="plex_imdb statping openvpn" 

for container in $containers
do
  if ! (docker ps | grep -q $container)
  then 
    docker start $container
    echo "$( date ) - Not running! starting the docker $container container" >> /logs/docker_alive.log
  fi
done