orbstack / orbstack

Fast, light, simple Docker containers & Linux machines for macOS
https://orbstack.dev
MIT License
4.48k stars 31 forks source link

Symlinks to OrbStack's docker CLI tools are not created on restart #1152

Open ideabucket opened 1 month ago

ideabucket commented 1 month ago

Describe the bug

Per the documentation, restarting OrbStack when there are no docker CLI tools installed should result in OrbStack creating symlinks to them in /usr/local/bin and adding ~/.orbstack/bin to my $PATH. Neither of these things occurs.

To Reproduce

  1. Uninstall Docker Desktop.
  2. Quit and restart OrbStack.

Expected behavior

Symlinks to docker, docker-compose, and docker-credential-osx-keychain should be created in /usr/local/bin and/or $HOME/.orbstack/bin should be appended to my $PATH.

Running, e.g., docker info in a fresh shell should work.

Diagnostic report (REQUIRED)

OrbStack info: Version: 1.5.1 Commit: 4cfac15e1080617c70eb163966e1cb2009dac1c2 (v1.5.1)

System info: macOS: 14.4.1 (23E224) CPU: arm64, 8 cores CPU model: Apple M2 Model: Mac14,2 Memory: 24 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-04-26T06-15-36.276568Z.zip

Screenshots and additional context (optional)

If it's relevant, my shell is fish and OrbStack was installed via homebrew.

russes commented 1 month ago

If you uninstall Docker Desktop & completely remove OrbStack, the /usr/local/bin symlinks to (OrbStack) Docker are not created when OrbStack is installed again. Same behavior as described above. Installed from the OrbStack .dmg file.

OrbStack 1.5.1 macOS Sonoma 14.4.1 23E224