Files in containers
Device Manager delivers single files to containers with three related concepts. Keep their names apart:
- File mount: a creation-time declaration on a container. It says where a file must appear inside the container (mountpoint), whether the container can start without it (required), and optionally which file to use when nobody overrides it (default file). File mounts are defined when the container is created in a release.
- File bind: a deployment-time choice of which file content fills a file mount on a specific device. If no custom bind is given, the mount uses its default file. If the mount is required and has neither a default file nor a bind, the container cannot start.
- Env file: a deployment-time file handed to the container as an env file, independent of any mountpoint. Use it for per-device configuration (for example, a
.envfile) that should not be baked into the release.
In short: mounts describe where and whether needed, binds and env files describe which content for this deployment.
File mounts can also carry optional permission overrides (file mode, user and group IDs). They default to the device-side defaults unless you set them explicitly in the UI.
For the click-by-click flows, see Container creation for file mounts and Deploying with files for file binds and env files.