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:
parent
f34c53eefe
commit
74d086f5e3
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user