diff --git a/bin/compose-core b/bin/compose-core index d5b8bfb..3ee2bd6 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -4120,7 +4120,7 @@ esac if [ "$full_init" ]; then ## init in order - if [ -z "$no_init" ]; then + if [[ -z "$no_init" && -z "$no_hooks" ]]; then Section setup host resources setup_host_resources "${services_args[@]}" || exit 1 Section initialisation