Configuration File
Pody stores its server configuration in a TOML file at $PODY_HOME/config.toml. If PODY_HOME is not set, the default location is ~/.pody/config.toml.
Edit the configuration
The easiest way to edit the file is:
pody-util configIf the configuration file does not exist yet, this command will create it from the built-in default template and then open it in your editor.
By default, pody-util config uses $EDITOR, and falls back to vi if $EDITOR is not set. You can also choose an editor explicitly:
pody-util config --editor nanoIf you want to check where Pody stores its data and configuration files, run:
pody-util show-homeContent and file structure
The generated file contains comments explaining each option. The most important parts are:
available_ports: host ports or port ranges that Pody can assign to containersvolume_mappings: host paths or tmpfs mounts exposed inside containersnetwork: an optional user-defined Docker network for inter-container communicationdefault_quota: the fallback resource limits for users[[images]]: the list of images that clients are allowed to create pods fromremote_user_profile: settings for remote user management integration (more details)
For most deployments, the first section to adjust is [[images]], since it defines which images are visible to users and which ports should be exposed for each image.
Typical workflow
A common setup flow looks like this:
- Pull or build the Docker images you want to offer.
- Open the configuration file with
pody-util config. - Edit the
[[images]]section to list those images. - Review
available_ports,volume_mappings, anddefault_quota. - Set
networkif you want containers to join a dedicated Docker network.
For example:
available_ports = "20000-21000"
network = "pody-net"
[[images]]
name = "ubuntu2204-cu121-base:latest"
ports = [22, 8000]In this example, Pody may allocate host ports from 20000-21000, attach the container to the pody-net network, and expose ports 22 and 8000, mapping them to random ports in the specified range, for the specified image.
INFO
- Invalid configuration values may prevent the server from loading correctly.
- Since the file includes inline comments, it is usually easiest to start from the generated default and edit it incrementally.