Build and push Docker images for agent deployments
docker
command provides utilities for building, tagging, and pushing Docker images to container registries. This command automatically parses registry information from your deployment configuration and supports both Docker Hub and custom registries.
pcc-deploy.toml
file to automatically determine registry settings, image names, and versions.
Usage:
agent_name
from your pcc-deploy.toml
file.dockerhub
, custom
. When not
specified, automatically detected from the image
field in your
pcc-deploy.toml
file.image
field in your pcc-deploy.toml
file (e.g., myusername
from
myusername/app:1.0
).image
field for custom registries (e.g.,
gcr.io
from gcr.io/project/app:1.0
).image
field in your pcc-deploy.toml
file (e.g., 1.0
from
myusername/app:1.0
).latest
. By default, images are tagged with both the
specified version and latest
.docker build-push
command reads configuration from your pcc-deploy.toml
file to minimize required command-line arguments. Here’s how different registry setups work:
dockerhub
myusername
my-agent
1.0
custom
gcr.io
my-project
my-agent
1.0
[docker]
section:
[docker]
options:
latest
in addition to the
specified version.pcc-deploy.toml
:
linux/arm64
platform, which is required for Pipecat Cloud deployments. This is automatically configured and cannot be changed.
docker login
command