File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,9 +89,13 @@ if ! command -v gh >/dev/null 2>&1; then
8989 log_error " gh not found, please install it following instructions here https://github.com/cli/cli?tab=readme-ov-file#installation"
9090fi
9191
92- # Before we start the release, ensure that Docker is running
93- if ! docker info > /dev/null 2>&1 ; then
94- log_error " Docker is not running, please start it"
92+ # Before we start the release, ensure that Docker or container is running
93+ if docker info > /dev/null 2>&1 ; then
94+ log_info " Using Docker for container operations"
95+ elif container system status > /dev/null 2>&1 ; then
96+ log_info " Using Apple container for container operations"
97+ else
98+ log_error " Neither Docker nor container is running. Please start Docker or run 'container system start'"
9599fi
96100
97101# Read the desired version
You can’t perform that action at this time.
0 commit comments