Skip to content

Commit

Permalink
fix: The URL of docker compose installation guide in install-dev.sh (#…
Browse files Browse the repository at this point in the history
…2673)

Backported-from: main (24.09)
Backported-to: 24.03
Backport-of: 2673
  • Loading branch information
achimnol committed Aug 8, 2024
1 parent 2c1f5ff commit be2f169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@ if [ $CODESPACES != "true" ] || [ $CODESPACES_ON_CREATE -eq 1 ]; then
# checking docker compose v2 -f flag
if $(docker compose -f 2>&1 | grep -q 'unknown shorthand flag'); then
show_error "When run as a user, 'docker compose' seems not to be a compatible version (v2)."
show_info "Please check the following link: https://docs.docker.com/compose/install/compose-plugin/#install-the-plugin-manually to install Docker Compose CLI plugin on ${HOME}/.docker/cli-plugins"
show_info "Please check the following link: https://docs.docker.com/compose/install/ to install Docker Compose and its CLI plugin on ${HOME}/.docker/cli-plugins"
exit 1
fi
if $(sudo docker compose -f 2>&1 | grep -q 'unknown shorthand flag'); then
show_error "When run as the root, 'docker compose' seems not to be a compatible version (v2)"
show_info "Please check the following link: https://docs.docker.com/compose/install/compose-plugin/#install-the-plugin-manually to install Docker Compose CLI plugin on /usr/local/lib/docker/cli-plugins"
show_info "Please check the following link: https://docs.docker.com/compose/install/ to install Docker Compose and its CLI plugin on /usr/local/lib/docker/cli-plugins"
exit 1
fi
if [ "$DISTRO" = "Darwin" ]; then
Expand Down

0 comments on commit be2f169

Please sign in to comment.