DeepFellow DOCS

Container Internet Access

Control whether service and model containers reach the internet or only DeepFellow Infra.

Some deployments run models that must not send confidential data out. The container_internet_access install option cuts a container off from the internet. The container and DeepFellow Infra reach each other. The container has no route to anything else.

Requirements and Limitations

  • Docker network: DeepFellow Infra needs the network from DF_INFRA_DOCKER_SUBNET (default deepfellow-infra-net). See Configuration.
  • Internet access for Infra: A container without internet access cannot download models. DeepFellow Infra downloads them instead, so it needs access to the model sources, for example Hugging Face.
  • Ollama models: With internet access off, DeepFellow Infra downloads the models for the container, only from the Ollama registry or from a direct download URL. Models from other registries, for example hf.co/..., return 400. To install such a model, keep container_internet_access set to true and the container pulls it itself.
  • Custom and MCP models: DeepFellow Infra downloads nothing for them, so an image that fetches data from the internet itself stops working with internet access off.
  • Finetune: Its container downloads base models from Hugging Face itself, and DeepFellow Infra cannot do it for the container yet. Installing Finetune with container_internet_access set to false returns 400, and ignore_warnings does not skip this error. To install Finetune, set container_internet_access to true explicitly.
  • Docker 28 or newer: Older versions let the container reach services open on the host, such as SSH or a proxy. On older versions, installing returns 400 with a warnings list. To continue anyway, set ignore_warnings to true next to spec. A network created earlier on an older Docker has the same limit: once no container uses it, disconnect DeepFellow Infra from it and remove it, and Infra creates it again isolated.

Without a Docker network, the option defaults to true, and installing with false returns 400.

Turn Internet Access Off

Set container_internet_access to false in the install spec of a service, or of a custom or mcp model.

Open DeepFellow Infra Web Panel and go to Services.

Click Install on the service, or Add on a custom or mcp model.

Set container_internet_access to false.

Click Install.

The same field works in the API:

{
  "spec": {
    "container_internet_access": false
  }
}

A value that is not a boolean returns 400.

Defaults

Default container_internet_accessServices and models
falseOllama, llama.cpp, vLLM, SGLang, speaches, rerank
truestable diffusion, Finetune (it works only with true, see above), custom and mcp models

How It Works

DeepFellow Infra creates one internal Docker network, with no route out, next to the configured subnet. It attaches itself to that network. A container installed with the option off joins only that network.

  • Existing installs keep their internet access. Upgrading does not recreate their containers. The exception is an ollama instance saved with the removed mode: offline: when the Docker network is set, its container is recreated on the isolated network and has no internet access, as mode: offline meant before. Without the Docker network, it keeps internet access.
  • Changing the option applies to new installs only. To change an installed service or model, edit it and reinstall it.

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.

On this page