Skip to content

Commit

Permalink
use orbstack
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Nov 1, 2023
1 parent 423e3c8 commit fed5e43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions dist/setup-docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ export async function installDocker() {
return;
}
if (platform === "darwin") {
await exec("sh", ["-c", "HOMEBREW_NO_AUTO_UPDATE=1 brew install docker"]);
await exec("colima", ["start"]);
await exec("sh", [
"-c",
"HOMEBREW_NO_AUTO_UPDATE=1 brew install docker orbstack",
]);
return;
}
}
6 changes: 4 additions & 2 deletions src/setup-docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ export async function installDocker() {
}

if (platform === "darwin") {
await exec("sh", ["-c", "HOMEBREW_NO_AUTO_UPDATE=1 brew install docker"]);
await exec("colima", ["start", "--cgroups-v2"]);
await exec("sh", [
"-c",
"HOMEBREW_NO_AUTO_UPDATE=1 brew install docker orbstack",
]);
return;
}
}

0 comments on commit fed5e43

Please sign in to comment.