-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command not found: ip #372
Comments
I execute this command instead. taozhiyu@603e5f4a42f1 ~ % ifconfig | grep 'inet ' | grep -v 'inet6 ' | awk '{print $2}' http://127.0.0.1:8502, http://192.168.31.110:8502 both can not be accessed. |
This is potentially an issue with docker not passing traffic out to the host. How are you running the container? |
I think others have found that docker on Mac does not work with network=host, i think you have to use network=bridge |
network=bridge
taozhiyu@603e5f4a42f1 ~ % docker run --detach --name=willow-application-server --pull=always --network=bridge --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/toverainc/willow-application-server
2024-05-13 06:09:45 [2024-05-12T22:09:45] INFO: Started server process [9] |
network=host
taozhiyu@603e5f4a42f1 ~ % docker run --detach --name=willow-application-server --pull=always --network=host --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/toverainc/willow-application-server
2024-05-13 06:15:49 [2024-05-12T22:15:49] INFO: Started server process [9] |
both not work on my MAC but other dockers work fine, for example oneapi, openwebui, dify |
I'm not sure what specific issue is occurring on mac, our Linux users use the original command you tried without issue. Maybe try running the docker the same way you run the others? Perhaps excluding the network argument may help? |
oneapi, dify or other docker container, I use localhost:port. they all work fine |
`taozhiyu@603e5f4a42f1 ~ % ip route get 1.1.1.1 | grep -oP 'src \K\S+'
zsh: command not found: ip
grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]`
my laptop is MAC 14.4. the error info is show above. anyone can help?
The text was updated successfully, but these errors were encountered: