Example
Create a Pod with 2 RTX 4090 GPUs in the Secure Cloud with a custom container image:Flags
A custom name for your Pod to make it easy to identify and reference.
The GPU type to use for the Pod (e.g.,
NVIDIA GeForce RTX 4090, NVIDIA B200, NVIDIA L40S). Use the GPU ID (long form) from the GPU types reference table to specify the GPU type.The number of GPUs to allocate to the Pod.
--secureCloud
Create the Pod in the Secure Cloud tier, which offers enterprise-grade infrastructure with enhanced reliability.
--communityCloud
Create the Pod in the Community Cloud tier, which typically offers lower pricing with spot instance availability.
The Docker container image to use for the Pod (e.g.,
runpod/pytorch:latest).The ID of a template to use for Pod configuration, which pre-defines the image and environment settings.
The size of the container disk in gigabytes, used for temporary storage within the container.
The size of the persistent volume in gigabytes, which retains data across Pod restarts.
The mount path for the persistent volume inside the container.
The ID of an existing network volume to attach to the Pod for shared storage across multiple Pods.
The maximum price ceiling in dollars per hour. If not specified, the Pod will be created at the lowest available price.
The minimum system memory required in gigabytes.
The minimum number of vCPUs required for the Pod.
Environment variables to set in the container. Specify multiple times for multiple variables (e.g.,
--env KEY1=VALUE1 --env KEY2=VALUE2).Additional arguments to pass to the container when it starts.
Ports to expose from the container. Maximum of 1 HTTP port and 1 TCP port allowed (e.g.,
--ports 8888/http --ports 22/tcp).