Open MaximPerry opened 4 months ago
I have the same problem now, who knows how to fixed this?
I met this since i upgrated MacOS to Sonoma14.5
Here s much more info
% brew info docker-virtualbox
==> sergeycherepanov/docker-virtualbox/docker-virtualbox: stable 0.0.7 [keg-only]
Installed
/usr/local/Cellar/docker-virtualbox/0.0.7_1 (9 files, 24.8MB)
Built from source on 2024-05-30 at 11:46:00
From: https://github.com/sergeycherepanov/homebrew-docker-virtualbox/blob/HEAD/Formula/docker-virtualbox.rb
==> Dependencies
Required: coreutils ✔, curl ✔, jq ✔, terminal-notifier ✔, docker ✔, docker-compose ✔, docker-credential-helper ✔, docker-machine ✔, docker-machine-nfs-generic ✔
==> Caveats
Docker Virtualbox was installed
Please don't forget to configure your PATH variable
docker-virtualbox is keg-only, which means it was not symlinked into /usr/local,
because this package may conflict with official docker client.
If you need to have docker-virtualbox first in your PATH, run:
echo 'export PATH="/usr/local/opt/docker-virtualbox/bin:$PATH"' >> ~/.zshrc
%brew services list
Name Status User File
docker-machine none
docker-virtualbox none
unbound none
i find how to fixed this problem manually
First, create ~/Library/LaunchAgents/homebrew.mxcl.docker-virtualbox.plist
with this content
You have to change this content
/usr/local/opt/docker-virtualbox/bin/docker-machine-init
,of course you can get this withwhereis docker-machine-init
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>homebrew.mxcl.docker-virtualbox</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/docker-virtualbox/bin/docker-machine-init</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/tmp</string>
</dict>
</plist>
Second, load the plist file
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.docker-virtualbox.plist
Finally, check the service status
launchctl list | grep docker-virtualbox
or
brew services list
The docker-virtualbox
status is started
now, i can enjoy docker again.
@zepingwong @MaximPerry I guess it's related to the new homebrew api, I will check the formula and try to fix it
i find how to fixed this problem manually
First, create
~/Library/LaunchAgents/homebrew.mxcl.docker-virtualbox.plist
with this contentYou have to change this content
/usr/local/opt/docker-virtualbox/bin/docker-machine-init
,of course you can get this withwhereis docker-machine-init
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>homebrew.mxcl.docker-virtualbox</string> <key>ProgramArguments</key> <array> <string>/usr/local/opt/docker-virtualbox/bin/docker-machine-init</string> </array> <key>RunAtLoad</key> <true/> <key>WorkingDirectory</key> <string>/tmp</string> </dict> </plist>
Second, load the plist file
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.docker-virtualbox.plist
Finally, check the service status
launchctl list | grep docker-virtualbox
or
brew services list
The
docker-virtualbox
status isstarted
now, i can enjoy docker again.
This is not useful on Sequoia
At step: "Start the docker-virtualbox service", running the command
brew services start docker-virtualbox
, I get the following error:What I've tried:
docker-machine-init initialize
and thenbrew services start docker-virtualbox
again;Anyone encountered this before? Any fixes?
My system: