Skip to content

Support Orbstack on MacOS #76

@maxfenton

Description

@maxfenton

Expected

lando would start and run with OrbStack as the running docker provider on MacOS, with its docker symlinked at /usr/local/bin/docker

Issues

  • lando build cannot run unless Docker Desktop for Mac has been installed and run at least once
  • lando start cannot run without errors like this:
  lando ERROR Error: connect ENOENT /var/run/docker.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
From previous event:
    at Landerode.listContainers (/snapshot/cli/node_modules/@lando/core/node_modules/dockerode/lib/docker.js)
    at Landerode.list (/snapshot/cli/node_modules/@lando/core/lib/docker.js)
    at /snapshot/cli/node_modules/@lando/core/lib/engine.js
    at /snapshot/cli/node_modules/@lando/core/lib/router.js
From previous event:
    at Object.eventWrapper (/snapshot/cli/node_modules/@lando/core/lib/router.js)
    at Engine.engineCmd (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
    at Engine.list (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
    at /snapshot/cli/node_modules/@lando/core/hooks/app-find-localhosts.js
    at AsyncEvents.<anonymous> (/snapshot/cli/node_modules/@lando/core/app.js)
    at AsyncEvents.handle (/snapshot/cli/node_modules/@lando/core/lib/events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/events.js
    at process.processImmediate (node:internal/timers:476:21)
From previous event:
    at AsyncEvents.emit (/snapshot/cli/node_modules/@lando/core/lib/events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/app.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.run (/snapshot/cli/node_modules/@lando/core/tasks/restart.js)  +6ms
  lando reporting error action to report=true, url=https://metrics.lando.dev, report=true, url=https://metrics.lando.dev +9ms
  lando reported data command=lando restart, context=local, devMode=false, instance=37ac58bbfe1d2edfdbd132cdd8e8d7d19993b33a, nodeVersion=v18.19.1, mode=cli, type=Darwin, platform=darwin, release=23.6.0, arch=arm64, isWsl=false, product=lando, version=3.21.2, message=connect ENOENT /var/run/docker.sock, stack=Error: connect ENOENT /var/run/docker.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
From previous event:
    at Landerode.listContainers (docker.js)
    at Landerode.list (docker.js)
    at /snapshot/cli/node_modules/@lando/core/lib/engine.js
    at /snapshot/cli/node_modules/@lando/core/lib/router.js
From previous event:
    at Object.eventWrapper (router.js)
    at Engine.engineCmd (engine.js)
    at Engine.list (engine.js)
    at /snapshot/cli/node_modules/@lando/core/hooks/app-find-localhosts.js
    at AsyncEvents.<anonymous> (app.js)
    at AsyncEvents.handle (events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/events.js
    at process.processImmediate (timers:476:21)
From previous event:
    at AsyncEvents.emit (events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/app.js
    at process.processTicksAndRejections (task_queues:95:5)
    at async Object.run (restart.js), action=error, created=2024-09-04T17:54:28.132Z +0ms```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions