-
Notifications
You must be signed in to change notification settings - Fork 82
unknown flag error #135
Comments
See this issue: #11 Running |
It might be a good idea for the https://github.com/hocus-dev/hocus/blob/main/ops/bin/local-up.sh#L76 |
It appears that |
A possible solution: # Check minimum version of docker compose
# We require docker compose of at least version 2.15.0 which introduced --ignore-buildable
COMPOSE_VERSION="$(docker compose version | grep -o -E '[0-9]+(\.[0-9]+){2}$')"
COMPOSE_REQUIRED_VERSION="2.15.0"
if ! [ "$(printf '%s\n' "$COMPOSE_REQUIRED_VERSION" "$COMPOSE_VERSION" | sort -V | head -n1)" = "$COMPOSE_REQUIRED_VERSION" ]; then
# Some better explination...
echo "Less than ${COMPOSE_REQUIRED_VERSION}"
exit 1
fi |
@regner Thank you for suggesting a fix! --ignore-buildable is only needed when building the containers locally. After #120 got merged that flag is not needed when pulling the agent/ui/setup images from quay. Will make a PR today which will remove the flag when using prebuild images, otherwise it will do a docker-compose version check. |
π Bug description
Followed hocus quick start guide, but got that error than trying to run on my linux machine
Environment
The text was updated successfully, but these errors were encountered: