30-SECOND SUMMARY
What to take away
- Verify Ollama first.
- Account for Docker-to-host networking.
- Do not expose the port without authentication and data controls.
Connect Ollama and Open WebUI
Separate model and UI failures.
- 01OLLAMA
Verify in terminal
- 02DOCKER
Mount persistent data
- 03CONNECT
Check host address
- 04PROTECT
Accounts and network
Verify Ollama
A model should answer in the terminal before the UI is introduced.
ollama run gemma3:4bStart the container
Use the official image and a persistent volume. Recheck the current tag in the official guide.
docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:mainCheck the connection
Open localhost:3000 and inspect the model list. If Docker cannot see host Ollama, follow the official host-address configuration.
Keep the first deployment private
A multi-user or internet-facing service needs authentication, TLS, backups, updates, and access logging.
Frequently asked questions
Why are no models listed?
Check Ollama directly, container logs, the host address, and firewall in that order.
Where are chats stored?
Inspect the mounted data volume and define backup and deletion rules.
Can I share port 3000?
Not without authentication and network controls.
Primary sources
Check the original documentation for version-specific details.