2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00

Update to quickstart script

- Fix the `update` method
This commit is contained in:
Emerle, Ryan 2022-01-13 17:07:54 -05:00
parent f34c53eefe
commit 74d086f5e3
No known key found for this signature in database
GPG Key ID: C0D34C592AED41CE

View File

@ -158,8 +158,9 @@ if [[ $UPDATE -eq 1 ]]; then
"${DIR}/../utils/clean-vinyldns-containers.sh" &> /dev/null || true
echo "${F_YELLOW}Removing any local VinylDNS Docker images tagged ${F_RESET}'${VINYLDNS_IMAGE_VERSION}'${F_YELLOW}...${F_RESET}"
docker images -a |grep vinyldns | grep "${VINYLDNS_IMAGE_VERSION}" | awk '{print $3}' | xarg docker rmi &> /dev/null || true
docker images -a |grep vinyldns | grep "${VINYLDNS_IMAGE_VERSION}" | awk '{print $3}' | xargs docker rmi -f &> /dev/null || true
echo "${F_GREEN}Successfully removed all local VinylDNS Docker images and running containers tagged ${F_RESET}'${VINYLDNS_IMAGE_VERSION}'${F_YELLOW}...${F_RESET}"
echo "${F_LRED}You may need to re-run with the '--build' flag...${F_RESET}"
fi