wenjunxiao / mac-docker-connector

The connector provides the ability for the mac/windows host to directly access the docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac无法ping通容器

BBJG001 opened this issue · comments

commented

problem

in docker-connector.plist
image

from logfile above
image

the config file is not one in readme,and cat it with result: No such file or directory

my solution

so i cp the config file path in readme to the position in logfile

cp /opt/homebrew/etc/docker-connector.conf /opt/homebrew/opt/docker-connector/bin/etc/docker-connector.conf

and restart docker-connecter with sudo

sudo brew services start docker-connector

it worked

guess

i think because of the following code

image

commented

modify the config in plist file is also work,need absolute path
image