Skip to content

Commit

Permalink
compose V1 is now unsupported (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Jul 6, 2023
1 parent b9a9fa8 commit a9f2b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ determine_compose() {
__compose_version=$($__maybe_sudo docker-compose --version | sed -n -E -e "s/.*version [v]?([0-9.-]*).*/\1/ip")
if [ -n "${ETHDSECUNDO-}" ] || [ ! "${command}" = "update" ]; then # Don't run this twice
echo
echo "You are using docker-compose ${__compose_version}, which is unsupported by Docker, Inc. from July 2023 on"
echo "You are using docker-compose ${__compose_version}, which is unsupported by Docker, Inc."
echo "eth-docker will stop supporting it with Dencun, sometime fall 2023."
echo ""
echo "It is recommended that you replace compose V1 with compose V2."
while true; do
read -rp "Do you want to update compose to V2? (yes/no) " yn
case $yn in
[Nn]* ) echo "Please be sure to update docker-compose yourself!"; break;;
[Nn]* ) echo "Please be sure to update compose yourself!"; break;;
* ) upgrade_compose; break;;
esac
done
Expand Down

0 comments on commit a9f2b9f

Please sign in to comment.