[Docker Ollama] Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/llama2/manifests/latest"

I solved it by using host network when running container(–network host), but I am not sure this is proper way.