Skip to content

Commit

Permalink
armbian-next: docker: don't even try to to prepare Docker, if it's no…
Browse files Browse the repository at this point in the history
…t available
  • Loading branch information
rpardini committed Feb 18, 2023
1 parent 3e9c123 commit 72bc1b0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/functions/host/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ function docker_cli_prepare() {
REQUIREMENTS_DEFS_ONLY=yes early_prepare_host_dependencies
display_alert "Pre-game dependencies" "${host_dependencies[*]}" "debug"

#############################################################################################################
# Stop here if Docker can't be used at all.
if ! is_docker_ready_to_go; then
display_alert "Docker is not ready" "Docker is not available. Make sure you've Docker installed, configured, and running; add your user to the 'docker' group and restart your shell too." "err"
exit 56
fi

#############################################################################################################
# Detect some docker info.

Expand Down

0 comments on commit 72bc1b0

Please sign in to comment.