You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
253 B

#! /usr/bin/bash
export COMPOSE_IGNORE_ORPHANS=True
echo "pulling new image"
docker pull pihole/pihole:latest
echo "removing container"
docker rm -f pihole
echo "creating new container"
docker-compose -f ~/dockerrepo/dockercmd/compose/pihole.yml up -d