apple / apple/container

[Request]: Support for adding host network

Open
#673 1 comment 13 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

Im trying to use this solution with ollama and open-webui, but the container does not see things on localhost.

Docker has an option called **_add-host_**

`
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
`

which may be the thing that makes this work. Do you plan to do something similar? Or maybe more elegant solution? Maybe i just dont understand something and you can help me?

Thanks

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.