Skip to content

Commit

Permalink
brew: replace docker with orbstack
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Apr 27, 2024
1 parent 49aa54d commit fb6dbf7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .config/brew/Brewfile##c.Me
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ cask "1password"
cask "1password-cli"
cask "appcleaner"
cask "beekeeper-studio"
cask "docker"
cask "font-meslo-lg-nerd-font"
cask "google-chrome"
cask "google-cloud-sdk"
Expand Down
1 change: 1 addition & 0 deletions .config/fish/completions/docker.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker completion fish 2>/dev/null | source
1 change: 1 addition & 0 deletions .config/fish/completions/kubectl.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kubectl completion fish 2>/dev/null | source
4 changes: 2 additions & 2 deletions .config/fish/functions/docker.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function docker --description "Docker wrapper to ensure the daemon is running"
if ! pgrep -q Docker
if ! pgrep -q OrbStack
# Boot daemon
open -jga Docker || exit 1
open -jga OrbStack || exit 1
while ! curl -f --unix-socket /var/run/docker.sock localhost/_ping &>/dev/null
sleep 0.5
end
Expand Down
2 changes: 1 addition & 1 deletion .config/yadm/bootstrap.d/secrets.sh##c.Me,e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ eval "$(op signin)"

### docker ###
debug "Fetching Docker credentials"
export PATH="${PATH+$PATH:}/Applications/Docker.app/Contents/Resources/bin"
export PATH="${PATH+$PATH:}/Applications/OrbStack.app/Contents/MacOS/xbin"
op read op://personal/docker/token | docker login --username branchvincent --password-stdin

## env ###
Expand Down

0 comments on commit fb6dbf7

Please sign in to comment.