Skip to content

Commit

Permalink
Add Docker to PATH ~/.docker/bin
Browse files Browse the repository at this point in the history
docker/for-mac#6664

https://docs.docker.com/desktop/mac/permission-requirements/#installing-symlinks

> With version 4.18 or later, you can choose whether to install symlinks either in /usr/local/bin or $HOME/.docker/bin during installation of Docker Desktop.
  • Loading branch information
javierjulio committed Apr 8, 2023
1 parent dbc25a1 commit 28d2b25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dotfiles/profile.d/development
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

if [ -d "$HOME/.docker/bin" ]; then
export PATH="$HOME/.docker/bin:$PATH"
fi

# Run `code` to open Visual Studio Code from the Terminal.
# https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
if [ -d "/Applications/Visual Studio Code.app/Contents/Resources/app/bin" ]; then
Expand Down

0 comments on commit 28d2b25

Please sign in to comment.