chipmk / docker-mac-net-connect

Connect directly to Docker-for-Mac containers via IP address 🐳 💻
MIT License
402 stars 41 forks source link

[Question] failed to start service #38

Open vie-serendipity opened 3 weeks ago

vie-serendipity commented 3 weeks ago

When I run sudo sudo brew services start chipmk/tap/docker-mac-net-connect, I got

==> Successfully started `docker-mac-net-connect` (label: homebrew.mxcl.docker-mac-net-connect)

But I found the network is not connected. WhenI run brew services list, it seems something unexpected happen. I didn't find any error logs in /opt/homebrew/var/log/docker-mac-net-connect. My computer is mac m3 pro, I'm not sure this tool should work fine on m3.

➜  ~ brew services list                                        
Name                   Status     User File
docker-mac-net-connect error  256 root ~/Library/LaunchAgents/homebrew.mxcl.docker-mac-net-connect.plist
gregnr commented 6 days ago

Hey @vie-serendipity sorry for the delay. When you run brew under sudo, it runs under a different (root) user which is likely why you are seeing that error status. Can you please run the list command as sudo and let me know what it comes back with?

sudo brew services list