Skip to content

Commit

Permalink
Switch docker-compose to docker compose
Browse files Browse the repository at this point in the history
This provides compatibility with Docker Compose v2 and reflects that
docker-compose v1 has been deprecated since July 2023.
  • Loading branch information
kevindew committed Aug 5, 2024
1 parent 169c9eb commit c050458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exe/govuk-docker
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ if ! "$(dirname "$0")"/govuk-docker-version >/dev/null; then
read -rp "Press enter to continue..."
fi

>&2 echo "docker-compose -f [...] $*"
docker-compose "${COMPOSE_FLAGS[@]}" "$@"
>&2 echo "docker compose -f [...] $*"
docker compose "${COMPOSE_FLAGS[@]}" "$@"

0 comments on commit c050458

Please sign in to comment.