mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
add check for colima docker socket as fall back
Signed-off-by: Carlos Santana <csantana23@gmail.com>
This commit is contained in:
parent
08c31088c1
commit
bf331d53fe
@ -189,7 +189,7 @@ function kube::build::verify_prereqs() {
|
|||||||
|
|
||||||
function kube::build::docker_available_on_osx() {
|
function kube::build::docker_available_on_osx() {
|
||||||
if [[ -z "${DOCKER_HOST}" ]]; then
|
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"
|
kube::log::status "Using Docker for MacOS"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user