Skip to content

Commit

Permalink
add check for colima docker socket as fall back
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Santana <[email protected]>
  • Loading branch information
csantanapr committed Feb 23, 2022
1 parent 08c3108 commit bf331d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function kube::build::verify_prereqs() {

function kube::build::docker_available_on_osx() {
if [[ -z "${DOCKER_HOST}" ]]; then
if [[ -S "/var/run/docker.sock" ]]; then
if [[ -S "/var/run/docker.sock" ]] || [[ -S "${HOME}/.colima/docker.sock" ]]; then
kube::log::status "Using Docker for MacOS"
return 0
fi
Expand Down

0 comments on commit bf331d5

Please sign in to comment.